uuid to str, fixed print

This commit is contained in:
MatMasIt 2022-01-31 09:29:43 +01:00 committed by GitHub
parent 7057cccb08
commit 40dd7728df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,10 @@ def upload(csvPath):
global serverurl global serverurl
global auth global auth
vprint("Generating nonce uuid") vprint("Generating nonce uuid")
uid = uuid.uuid4() uid = str(uuid.uuid4())
content_path = csvPath content_path = csvPath
content_size = os.stat(content_path).st_size content_size = os.stat(content_path).st_size
print(content_name, content_path, content_size) print(content_path, content_size)
file_object = open(content_path, "rb") file_object = open(content_path, "rb")
index = 0 index = 0