mirror of
https://github.com/9001/copyparty.git
synced 2026-03-30 03:54:29 +10:00
dirlist alignment
This commit is contained in:
@@ -1862,7 +1862,7 @@ class HttpCli(object):
|
||||
arg = self.uparam["ls"]
|
||||
if arg in ["v", "t", "txt"]:
|
||||
try:
|
||||
biggest = max(ls["files"], key=itemgetter("sz"))["sz"]
|
||||
biggest = max(ls["files"] + ls["dirs"], key=itemgetter("sz"))["sz"]
|
||||
except:
|
||||
biggest = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user