Commit f47134b8 by Kálmán Viktor

dashboard: stupid way of doing things

parent 36a14a40
......@@ -123,7 +123,7 @@ class Store(object):
"directory" if d['TYPE'] == "D" else
filesizeformat(float(d['SIZE'])))
if len(d['DIR']) == 1 and d['DIR'][0] == ".":
if d['DIR'] == ".":
d['directory'] = "/"
else:
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