Fixing YAMLLoadWarning

This commit is contained in:
Benjamin Collet 2019-09-13 15:45:42 +02:00
parent bc43d55439
commit 129a8cab46

View file

@ -13,7 +13,7 @@ config = os.path.join(os.path.dirname(os.path.realpath(__file__)),"config.yml")
# Read configuration # Read configuration
with open(config, 'r') as ymlfile: with open(config, 'r') as ymlfile:
cfg = yaml.load(ymlfile) cfg = yaml.load(ymlfile, Loader=yaml.FullLoader)
# Functions # Functions