Commit f47134b8 by Kálmán Viktor

dashboard: stupid way of doing things

parent 36a14a40
...@@ -123,7 +123,7 @@ class Store(object): ...@@ -123,7 +123,7 @@ class Store(object):
"directory" if d['TYPE'] == "D" else "directory" if d['TYPE'] == "D" else
filesizeformat(float(d['SIZE']))) filesizeformat(float(d['SIZE'])))
if len(d['DIR']) == 1 and d['DIR'][0] == ".": if d['DIR'] == ".":
d['directory'] = "/" d['directory'] = "/"
else: else:
d['directory'] = "/" + d['DIR'] + "/" d['directory'] = "/" + d['DIR'] + "/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment