sort list output

This commit is contained in:
2014-11-05 10:48:14 +01:00
parent 53cbb0fa55
commit 41992ee72f

View File

@@ -259,12 +259,10 @@ class bam_utils:
import sys
import requests
# print(bam_config.find_config())
# TODO(cam) multiple paths
path = paths[0]
del paths
# TODO(cam) multiple paths
payload = {
"path": path,
}
@@ -276,6 +274,7 @@ class bam_utils:
)
items = r.json().get("items_list", ())
items.sort()
for (name_short, name_full, file_type) in items:
if file_type == "dir":