Misspelled headers

This commit is contained in:
MatMasIt
2022-01-31 10:28:20 +01:00
committed by GitHub
parent b931f12906
commit 15899528c0

View File

@ -51,7 +51,7 @@ def upload(csvPath):
except Exception as e: except Exception as e:
print(e) print(e)
headers['X-Intent'] = "C" headers['X-Intent'] = "C"
requests.post(serverUrl,data="Concludo, Presidente",heders=headers) requests.post(serverUrl,data="Concludo, Presidente",headers=headers)
if not storage.exists("lastUpdate"): if not storage.exists("lastUpdate"):
vprint("Last database update record has been initialized") vprint("Last database update record has been initialized")
storage.save("lastUpdate",0) storage.save("lastUpdate",0)