diff options
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 693d08d06..784127f72 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -397,9 +397,7 @@ def path(file="", path=""): for f in folders: try: f = f.decode(getfilesystemencoding()) - data = {} - data['name'] = f - data['fullpath'] = join(cwd, f) + data = {'name': f, 'fullpath': join(cwd, f)} data['sort'] = data['fullpath'].lower() data['modified'] = datetime.fromtimestamp(int(os.path.getmtime(join(cwd, f)))) data['ext'] = os.path.splitext(f)[1] |