mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
specified the loader for yaml.load since calling yaml.load without a loader is now depreciated (#472)
This commit is contained in:
parent
612ead32f8
commit
5e902c9bfb
@ -73,7 +73,7 @@ def load_yaml_config(config_file):
|
||||
configdata = None
|
||||
try:
|
||||
configdata = load(config_file)
|
||||
config = yaml.load(configdata)
|
||||
config = yaml.load(configdata, Loader=yaml.Loader)
|
||||
finally:
|
||||
no_except_close(configdata)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user