diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-16 17:12:36 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-16 17:12:36 +0200 |
commit | 52e67d8f0894c478b119ddb89aebd249518820e9 (patch) | |
tree | 502722032526ff79a11d8a307afbfa2654f4e56a /module/web/pyload_app.py | |
parent | Rapidshare fix (diff) | |
download | pyload-52e67d8f0894c478b119ddb89aebd249518820e9.tar.xz |
closed #276
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index a71232f2b..102638885 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -514,14 +514,11 @@ def info(): conf = PYLOAD.get_config() - data = {} - data["version"] = PYLOAD.get_server_version() - data["folder"] = abspath(PYLOAD_DIR) - data["config"] = abspath("") - data["download"] = abspath(conf["general"]["download_folder"]["value"]) - data["remote"] = conf["remote"]["port"]["value"] - data["webif"] = conf["webinterface"]["port"]["value"] - data["language"] = conf["general"]["language"]["value"] - + data = {"version": PYLOAD.get_server_version(), + "folder": abspath(PYLOAD_DIR), "config": abspath(""), + "download": abspath(conf["general"]["download_folder"]["value"]), + "remote": conf["remote"]["port"]["value"], + "webif": conf["webinterface"]["port"]["value"], + "language": conf["general"]["language"]["value"]} return render_to_response("info.html", data, [pre_processor])
\ No newline at end of file |