fix typo in help
[rainbowstream.git] / rainbowstream / config.py
index e468c9c1d5725625133355d1af816ce99e426838..9cc2310af1209112296ee9506db7e196a48fe60d 100644 (file)
@@ -109,7 +109,7 @@ def delete_config(key):
     Delete a config key
     """
     path = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
-    try: 
+    try:
         data = load_config(path)
     except:
         raise Exception('Config file is messed up.')
@@ -133,8 +133,9 @@ def reload_config():
     """
     Reload config
     """
-    try: 
-        rainbow_config = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
+    try:
+        rainbow_config = os.path.expanduser("~") + \
+            os.sep + '.rainbow_config.json'
         data = load_config(rainbow_config)
         for d in data:
             c[d] = data[d]
@@ -147,8 +148,8 @@ def init_config():
     Init configuration
     """
     # Load the initial config
-    config = os.path.dirname(
-        __file__) + '/colorset/config'
+    config = os.path.dirname(__file__) + \
+        '/colorset/config'
     try:
         data = load_config(config)
         for d in data:
@@ -164,8 +165,8 @@ def init_config():
     except ValueError as e:
         c['USER_JSON_ERROR'] = str(e)
     # Load default theme
-    theme_file = os.path.dirname(
-        __file__) + '/colorset/' + c['THEME'] + '.json'
+    theme_file = os.path.dirname(__file__) + \
+        '/colorset/' + c['THEME'] + '.json'
     try:
         data = load_config(theme_file)
         for d in data: