Fixed requests headers
This commit is contained in:
parent
1bcec68ba0
commit
35bd438141
|
@ -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"
|
||||||
request.post(serverUrl,data="Concludo, Presidente",headers)
|
requests.post(serverUrl,data="Concludo, Presidente",heders=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)
|
||||||
|
|
Reference in New Issue
Block a user