Fixed patch.py
This commit is contained in:
parent
a5ba72df33
commit
8aebc3671d
5
patch.py
5
patch.py
@ -30,8 +30,9 @@ def update_hash(current_hash):
|
|||||||
def update_change_list(message):
|
def update_change_list(message):
|
||||||
ripmeJson = get_ripme_json()
|
ripmeJson = get_ripme_json()
|
||||||
with open('ripme.json', 'w') as dataFile:
|
with open('ripme.json', 'w') as dataFile:
|
||||||
ripmeJson["changeList"] = ripmeJson["changeList"].insert(0, message)
|
new_cl = ripmeJson["changeList"].insert(0, message)
|
||||||
print(ripmeJson["currentHash"])
|
ripmeJson["changeList"] = new_cl
|
||||||
|
print(ripmeJson["changeList"])
|
||||||
json.dump(ripmeJson, dataFile, indent=4)
|
json.dump(ripmeJson, dataFile, indent=4)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user