aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-11 00:06:15 +0200
committerPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-05-11 00:06:15 +0200
commit47a79256a25f91e167518cd7acf8bf2ff0f0d977 (patch)
treeffea3a2c5dc2f55bce0ce4c5ce791c53ee1a663b
parentc5a41439b2033e08d136e0cfef8be02525706673 (diff)
downloadjustice-47a79256a25f91e167518cd7acf8bf2ff0f0d977.tar.gz
sort files by name
-rw-r--r--download_files.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/download_files.py b/download_files.py
index ea433e7..3addec3 100644
--- a/download_files.py
+++ b/download_files.py
@@ -40,6 +40,7 @@ def get_files_list(my_file):
for elem in l1:
if is_valid_file(elem[1:-1]) == True:
valid_files.append(elem[1:-1])
+ valid_files.sort()
return valid_files
def is_valid_file(tested_file):