Commit cbbae4c3 authored by Ivan Tsyganov's avatar Ivan Tsyganov

Fileadmin crash on cd to empty dir fixed

parent 9632fe84
...@@ -455,7 +455,7 @@ class FileAdmin(BaseView, ActionsMixin): ...@@ -455,7 +455,7 @@ class FileAdmin(BaseView, ActionsMixin):
if parent_path == '.': if parent_path == '.':
parent_path = None parent_path = None
items.append(('..', parent_path, True, 0)) items.append(('..', parent_path, True, 0, 0))
for f in os.listdir(directory): for f in os.listdir(directory):
fp = op.join(directory, f) fp = op.join(directory, f)
......
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 to comment