Added alphabetic sort of passwords within directory

This commit is contained in:
2023-06-20 23:42:14 +03:00
parent 72fe6f3007
commit 522436fdfb

View File

@ -133,7 +133,7 @@ class SearchPassService(dbus.service.Object):
if dir_path.startswith("."):
continue
for filename in files:
for filename in sorted(files):
if filename[-4:] != ".gpg":
continue
path = path_join(dir_path, filename)[:-4]