Skip to content

Commit

Permalink
https://github.com/yaml/pyyaml/issues/266
Browse files Browse the repository at this point in the history
  • Loading branch information
sivanoff committed Feb 21, 2021
1 parent b3e73cd commit 8b1f212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclone-changer
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ if __name__ == "__main__":
try:
stateF = open(config.statefile)
fcntl.flock(stateF, fcntl.LOCK_EX)
state = yaml.full_load(stateF)
state = yaml.load(stateF, Loader=yaml.Loader)
stateF.close()
except IOError as e:
logging.warning("State file not present. Starting from scratch and assuming no loaded volumes: %s" % e)
Expand Down

0 comments on commit 8b1f212

Please sign in to comment.