1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-24 06:59:52 +01:00

specified the loader for yaml.load since calling yaml.load without a loader is now depreciated (#472)

This commit is contained in:
John Berlin 2019-05-31 19:57:39 -04:00 committed by Ilya Kreymer
parent 612ead32f8
commit 5e902c9bfb

View File

@ -73,7 +73,7 @@ def load_yaml_config(config_file):
configdata = None configdata = None
try: try:
configdata = load(config_file) configdata = load(config_file)
config = yaml.load(configdata) config = yaml.load(configdata, Loader=yaml.Loader)
finally: finally:
no_except_close(configdata) no_except_close(configdata)