Skip to content

Commit

Permalink
Merge pull request #4 from rcmcronny/patch-1
Browse files Browse the repository at this point in the history
change "yaml.load" to better "yaml.safe_load"
  • Loading branch information
mischmeister committed Jun 3, 2019
2 parents bb41a77 + b6f0d51 commit 0816078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmarchiver.py
Expand Up @@ -34,7 +34,7 @@

try:
with open(config, 'r') as ymlfile:
cfg = yaml.load(ymlfile)
cfg = yaml.safe_load(ymlfile)

imap_host = cfg['imap']['imap_host']
imap_port = cfg['imap']['imap_port']
Expand Down

0 comments on commit 0816078

Please sign in to comment.