uuid to str, fixed print
This commit is contained in:
parent
7057cccb08
commit
40dd7728df
|
@ -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
|
||||||
|
|
Reference in New Issue
Block a user