Skip to content

Commit

Permalink
Use yaml.SafeLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido Pleßmann committed May 25, 2020
1 parent 17ef1d5 commit c894c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocessing/eGo_import_and_preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def preprocessing():
'ego_pre_voltage_level.sql',
'ego_pre_slp_parameters.sql'
]
datasets = yaml.load(open("import.yml"))#, Loader=Loader)
datasets = yaml.load(open("import.yml"), Loader=yaml.SafeLoader)

# get database connection
conn_oedb = db.connection(readonly=True).connect()
Expand Down

0 comments on commit c894c2e

Please sign in to comment.