mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
refactor the parsing
This commit is contained in:
@@ -42,7 +42,7 @@ def main():
|
||||
ignores = args['--ignore']
|
||||
|
||||
with open(path, 'r') as f:
|
||||
content = yaml.load(f)
|
||||
content = yaml.safe_load(f)
|
||||
for k, v in content[key].items():
|
||||
if k in ignores:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user