Skip to content

Commit

Permalink
Changed "yaml.load" to "yaml.full_load"
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneElseOSM committed Jun 29, 2023
1 parent 77924b9 commit 0a370f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changesetmd.py
Expand Up @@ -233,7 +233,7 @@ def doReplication(self, connection):
# at the end of this method to unlock the database or an error will forever leave it locked
returnStatus = 0
try:
serverState = yaml.load(requests.get(BASE_REPL_URL + "state.yaml").text)
serverState = yaml.full_load(requests.get(BASE_REPL_URL + "state.yaml").text)
lastServerSequence = serverState["sequence"]
print("got sequence")
lastServerTimestamp = serverState["last_run"]
Expand Down

0 comments on commit 0a370f9

Please sign in to comment.