summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/web/pyload/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index 09bb72704..26ff28b16 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -413,7 +413,7 @@ def path(request, path, type):
for f in folders:
data = {}
- data['name']: f
+ data['name'] = f
data['fullpath'] = os.path.join(cwd, f)
data['sort'] = data['fullpath'].lower()
data['modified'] = datetime.fromtimestamp(int(os.path.getmtime(os.path.join(cwd, f))))