mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user