summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/toastergui/views.py')
-rwxr-xr-xlib/toaster/toastergui/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index bd5bf6334..febd17fba 100755
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -2168,7 +2168,7 @@ if True:
if 'configvarAdd' in request.POST:
t=request.POST['configvarAdd'].strip()
if ":" in t:
- variable, value = t.split(":")
+ variable, value = t.split(":", 1)
else:
variable = t
value = ""
@@ -2178,7 +2178,7 @@ if True:
if 'configvarChange' in request.POST:
t=request.POST['configvarChange'].strip()
if ":" in t:
- variable, value = t.split(":")
+ variable, value = t.split(":", 1)
else:
variable = t
value = ""