Added alphabetic sort of passwords within directory
This commit is contained in:
parent
72fe6f3007
commit
522436fdfb
@ -133,7 +133,7 @@ class SearchPassService(dbus.service.Object):
|
|||||||
if dir_path.startswith("."):
|
if dir_path.startswith("."):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for filename in files:
|
for filename in sorted(files):
|
||||||
if filename[-4:] != ".gpg":
|
if filename[-4:] != ".gpg":
|
||||||
continue
|
continue
|
||||||
path = path_join(dir_path, filename)[:-4]
|
path = path_join(dir_path, filename)[:-4]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user