X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=rainbowstream%2Fconfig.py;h=58f747de33cf8ab627f1227137cc9e30be5227bc;hp=9cc2310af1209112296ee9506db7e196a48fe60d;hb=89eba790ee2f7d8a9c41c06ba35ef0d06974a3ff;hpb=626860130f64c7680efca7eceacf8954596ff074 diff --git a/rainbowstream/config.py b/rainbowstream/config.py index 9cc2310..58f747d 100644 --- a/rainbowstream/config.py +++ b/rainbowstream/config.py @@ -162,7 +162,7 @@ def init_config(): data = load_config(rainbow_config) for d in data: c[d] = data[d] - except ValueError as e: + except (IOError, ValueError) as e: c['USER_JSON_ERROR'] = str(e) # Load default theme theme_file = os.path.dirname(__file__) + \