Load yaml safely

このコミットが含まれているのは:
Mike 2019-05-16 20:05:25 -07:00
コミット 2ce2224009
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -119,7 +119,7 @@ class DiskUsageWarn:
raise Exception("Unable to open config file: " + path)
# Parse
config = yaml.load(f)
config = yaml.safe_load(f)
# Add the config file's own path
config["path"] = path