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
1 changed files with 3 additions and 0 deletions

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):