mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Typo fix - use date, not type, to indicate date.
This commit is contained in:
@ -58,7 +58,7 @@ def ftpbrowser(request, subpath):
|
|||||||
directories.insert(0, {'link':'[Parent Directory]', 'url':'..'})
|
directories.insert(0, {'link':'[Parent Directory]', 'url':'..'})
|
||||||
|
|
||||||
# Fetch files
|
# Fetch files
|
||||||
files = [{'name': k, 'mtime': v['t'], 'size': v['s']} for k,v in node.items() if v['t'] == 'f']
|
files = [{'name': k, 'mtime': v['d'], 'size': v['s']} for k,v in node.items() if v['t'] == 'f']
|
||||||
|
|
||||||
breadcrumbs = []
|
breadcrumbs = []
|
||||||
if subpath:
|
if subpath:
|
||||||
|
Reference in New Issue
Block a user