Added alphabetic sort of passwords within directory

This commit is contained in:
Dmitriy Shishkov 2023-06-20 23:42:14 +03:00
parent 72fe6f3007
commit 522436fdfb
Signed by: dm1sh
GPG Key ID: 027994B0AA357688

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]