Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2ce2224009 | |||
b5899e0ec9 |
@ -1,4 +1,4 @@
|
|||||||
#!/usr/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ class DiskUsageWarn:
|
|||||||
raise Exception("Unable to open config file: " + path)
|
raise Exception("Unable to open config file: " + path)
|
||||||
|
|
||||||
# Parse
|
# Parse
|
||||||
config = yaml.load(f)
|
config = yaml.safe_load(f)
|
||||||
|
|
||||||
# Add the config file's own path
|
# Add the config file's own path
|
||||||
config["path"] = path
|
config["path"] = path
|
||||||
|
Reference in New Issue
Block a user