diff options
| author | 2011-12-22 23:45:38 +0100 | |
|---|---|---|
| committer | 2011-12-22 23:45:38 +0100 | |
| commit | 958bf611f5d9d117f19f824990ec6fd6b537e967 (patch) | |
| tree | 558cb45fa61b1738629dff9727c028badccd9990 /module/web/json_app.py | |
| parent | some bugfixes (diff) | |
| download | pyload-958bf611f5d9d117f19f824990ec6fd6b537e967.tar.xz | |
accountmanager v2, delete your accounts.conf and re-enter them in pyload,
new nice debug functions, try core.shell() and core.breakpoint()
Diffstat (limited to 'module/web/json_app.py')
| -rw-r--r-- | module/web/json_app.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/json_app.py b/module/web/json_app.py index 196c9e36d..e02aa0707 100644 --- a/module/web/json_app.py +++ b/module/web/json_app.py @@ -278,9 +278,9 @@ def update_accounts():          if action == "password":              PYLOAD.updateAccount(plugin, user, value)          elif action == "time" and "-" in value: -            PYLOAD.updateAccount(plugin, user, options={"time": [value]}) +            PYLOAD.updateAccount(plugin, user, options={"time": value})          elif action == "limitdl" and value.isdigit(): -            PYLOAD.updateAccount(plugin, user, options={"limitDL": [value]}) +            PYLOAD.updateAccount(plugin, user, options={"limitDL": value})          elif action == "delete":              deleted.append((plugin,user))              PYLOAD.removeAccount(plugin, user)  | 
