Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Update call to yaml.load() due to deprecation warning (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
bihanssen authored Oct 22, 2019
1 parent 969b62e commit 6409287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nordicsemi/zigbee/prod_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, path):
try:
# Open the YAML file
with open(path, 'r') as f:
self._yaml = yaml.load(f)
self._yaml = yaml.load(f, Loader=yaml.FullLoader)

except yaml.YAMLError as e:
raise ProductionConfigWrongException
Expand Down

0 comments on commit 6409287

Please sign in to comment.