Fixed patch.py
This commit is contained in:
parent
8aebc3671d
commit
54cc6661f1
3
patch.py
3
patch.py
@ -30,9 +30,8 @@ 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:
|
||||||
new_cl = ripmeJson["changeList"].insert(0, message)
|
|
||||||
ripmeJson["changeList"] = new_cl
|
|
||||||
print(ripmeJson["changeList"])
|
print(ripmeJson["changeList"])
|
||||||
|
ripmeJson["changeList"].insert(0, message)
|
||||||
json.dump(ripmeJson, dataFile, indent=4)
|
json.dump(ripmeJson, dataFile, indent=4)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user