Skip to content

Commit

Permalink
Load config.yaml without warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
dazsmith committed Apr 20, 2020
1 parent 346981d commit a9657a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def config_close(self):
self.conf_fh.close()

def config_load(self):
self.config = yaml.load(self.conf_fh.read())
self.config = yaml.load(self.conf_fh.read(), Loader=yaml.FullLoader)

0 comments on commit a9657a0

Please sign in to comment.