diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 15:37:58 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 15:37:58 +0200 |
commit | 9973f09a616900ab0900974da77d22b566598b5f (patch) | |
tree | 0669cdda0a367e1b53b7286f19b6aaf1b9e4004a /module/web/pyload_app.py | |
parent | revert premium account change see #309 (diff) | |
download | pyload-9973f09a616900ab0900974da77d22b566598b5f.tar.xz |
improved some code style issues
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] |