From 720123f8296e176d1af022423f5bced1fd6d5a15 Mon Sep 17 00:00:00 2001 From: Orakaro Date: Sat, 19 Jul 2014 16:40:41 +0900 Subject: [PATCH] updated succesfully --- rainbowstream/config.py | 2 +- rainbowstream/rainbow.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rainbowstream/config.py b/rainbowstream/config.py index e19f069..2e79c9a 100644 --- a/rainbowstream/config.py +++ b/rainbowstream/config.py @@ -74,7 +74,7 @@ def set_config(key,value): # Modify value if value.isdigit(): value = int(value) - if value.lower() == 'True': + elif value.lower() == 'True': value = True elif value.lower() == 'False': value = False diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 905ff77..c424e84 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -1114,6 +1114,7 @@ def config(): value = g['stuff'].split()[-1] try: set_config(key,value) + printNicely(light_green('Updated successfully.')) except: printNicely(light_magenta('Not valid value.')) return -- 1.9.1