1
Fork 0

Added better error diagnosis to config load

This commit is contained in:
Jake Howard 2015-12-04 08:22:53 +00:00
parent 1ba735c38b
commit 67cd0f6e5d

View file

@ -18,6 +18,9 @@ def get_config_data(filename):
return load(config_file, Loader=Loader)
except FileNotFoundError:
return {}
except Exception as e:
print("Error:", e)
return {}
def write_user_config(refresh_after=False):