Update index.py

This commit is contained in:
midoks
2023-11-08 01:57:27 +08:00
parent 69cde4ebc3
commit 283d3c5f1f
+1 -1
View File
@@ -365,7 +365,7 @@ def binLogList():
t['time'] = mw.getDataFromInt(os.path.getctime(abspath))
log_bin_l.append(t)
sorted(log_bin_l, key=lambda x: x['name'], reverse=True)
sorted(log_bin_l, key=lambda x: x['time'], reverse=True)
# print(log_bin_l)
# print(data_dir, log_bin_name)