This commit is contained in:
ThomasV 2017-08-06 09:55:49 +02:00
parent 72706f8219
commit a13581e6db

View file

@ -279,7 +279,7 @@ def read_user_config(path):
data = f.read() data = f.read()
result = json.loads(data) result = json.loads(data)
except: except:
print_msg("Warning: Cannot read config file.", config_path) print_error("Warning: Cannot read config file.", config_path)
return {} return {}
if not type(result) is dict: if not type(result) is dict:
return {} return {}