Fixing YAMLLoadWarning
This commit is contained in:
parent
bc43d55439
commit
129a8cab46
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue