summaryrefslogtreecommitdiffstats
path: root/module/web/pyload
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-06 12:50:39 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-06 12:50:39 +0100
commitf323b2479422479be34f746e2a3a0edaf7244f82 (patch)
treebe56966a866e6a8dc2b5026d99e3531ab8f74b5e /module/web/pyload
parentlock fix (diff)
downloadpyload-f323b2479422479be34f746e2a3a0edaf7244f82.tar.xz
account fix
Diffstat (limited to 'module/web/pyload')
-rw-r--r--module/web/pyload/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index cfcd43061..ec690db1a 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -11,6 +11,7 @@ from urllib import unquote
from itertools import chain
from datetime import datetime
from time import localtime, strftime
+from copy import deepcopy
from django.conf import settings
from django.contrib.auth.decorators import login_required
@@ -341,7 +342,7 @@ def config(request):
else:
messages.append(_("All options were set correctly."))
- accs = settings.PYLOAD.get_accounts()
+ accs = deepcopy(settings.PYLOAD.get_accounts())
for accounts in accs.itervalues():
for data in accounts:
if data["trafficleft"] == -1: