aboutsummaryrefslogtreecommitdiffstats
path: root/python/load_cf.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/load_cf.py')
-rw-r--r--python/load_cf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/load_cf.py b/python/load_cf.py
index ce4c18c2..3f4949b9 100644
--- a/python/load_cf.py
+++ b/python/load_cf.py
@@ -53,7 +53,7 @@ def get_configfile(dealname, tradedate):
"csv", dealname + ".config")
try:
with open(configfile) as fh:
- config = yaml.load(fh)
+ config = yaml.load(fh, Loader=yaml.FullLoader)
except FileNotFoundError:
config = {"reinvflag": True}
return config