fixed X-Intentà

This commit is contained in:
MatMasIt 2022-01-31 10:13:18 +01:00 committed by GitHub
parent 0cdf4bb5be
commit 1bcec68ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ def upload(csvPath):
vprint("r: %s, Content-Range: %s" % (r, headers['Content-Range'])) vprint("r: %s, Content-Range: %s" % (r, headers['Content-Range']))
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) request.post(serverUrl,data="Concludo, Presidente",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")