diff options
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/cnl_app.py | 2 | ||||
-rw-r--r-- | module/web/json_app.py | 2 | ||||
-rw-r--r-- | module/web/pyload_app.py | 2 | ||||
-rw-r--r-- | module/web/templates/default/settings_item.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/module/web/cnl_app.py b/module/web/cnl_app.py index d8f7c1180..0e6aaf907 100644 --- a/module/web/cnl_app.py +++ b/module/web/cnl_app.py @@ -100,7 +100,7 @@ def addcrypted2(): IV = Key obj = AES.new(Key, AES.MODE_CBC, IV) - result = obj.decrypt(crypted).replace("\x00", "").replace("\r","").split("\n") + result = obj.decrypt(crypted).replace("\x00", "").replace("\r", "").split("\n") result = filter(lambda x: x != "", result) diff --git a/module/web/json_app.py b/module/web/json_app.py index 792fa8fe0..fc6cc4b7f 100644 --- a/module/web/json_app.py +++ b/module/web/json_app.py @@ -242,7 +242,7 @@ def load_config(category, section): conf = PYLOAD.getPluginConfigDict() for key, option in conf[section].iteritems(): - if key in ("desc","outline"): continue + if key in ("desc", "outline"): continue if ";" in option["type"]: option["list"] = option["type"].split(";") diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 671fd5000..71adb66a6 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -389,7 +389,7 @@ def logs(item=-1): reversed = s.get('reversed', False) warning = "" - conf = PYLOAD.getConfigValue("log","file_log") + conf = PYLOAD.getConfigValue("log", "file_log") if not conf: warning = "Warning: File log is disabled, see settings page." diff --git a/module/web/templates/default/settings_item.html b/module/web/templates/default/settings_item.html index 28de1a1a9..6642d34b4 100644 --- a/module/web/templates/default/settings_item.html +++ b/module/web/templates/default/settings_item.html @@ -3,7 +3,7 @@ <tr><th colspan="2">{{ section.outline }}</th></tr> {% endif %} {% for okey, option in section.iteritems() %} - {% if okey not in ("desc","outline") %} + {% if okey not in ("desc", "outline") %} <tr> <td><label for="{{skey}}|{{okey}}" style="color:#424242;">{{ option.desc }}:</label></td> |