Skip to content

Commit

Permalink
minor modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
SamR1 committed May 8, 2017
1 parent 865e921 commit ca68bcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dapp/fct.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

with open('config.yml', 'r') as stream:
try:
param = yaml.load(stream)
param = yaml.safe_load(stream)
except yaml.YAMLError as e:
logging.exception("error reading config file")

Expand Down
2 changes: 1 addition & 1 deletion dapp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

with open('config.yml', 'r') as stream:
try:
param = yaml.load(stream)
param = yaml.safe_load(stream)
except yaml.YAMLError as e:
print(e)

Expand Down

0 comments on commit ca68bcd

Please sign in to comment.