Alphabetical sort for config files. Fixes #11

This commit is contained in:
w1r0x 2017-01-10 15:32:33 +03:00
parent d63f2a5f3a
commit 912be7c596

View File

@ -32,7 +32,7 @@ f.close()
def get_configs():
confs = [f for f in listdir(conf['confd']) if isfile(
join(conf['confd'], f))]
return confs
return sorted(confs)
# Get Surok App configuration