|
@ -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 {} |
|
|