print config path in debug message
This commit is contained in:
@@ -193,7 +193,7 @@ def read_user_config(path):
|
|||||||
with open(config_path, "r") as f:
|
with open(config_path, "r") as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
except IOError:
|
except IOError:
|
||||||
print_msg("Error: Cannot read config file.")
|
print_msg("Error: Cannot read config file.", path)
|
||||||
return {}
|
return {}
|
||||||
try:
|
try:
|
||||||
result = json.loads(data)
|
result = json.loads(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user