Fixed abspath

This commit is contained in:
MatMasIt
2022-01-31 09:27:25 +01:00
committed by GitHub
parent 141d05626b
commit 7057cccb08

View File

@ -26,8 +26,7 @@ def upload(csvPath):
global auth
vprint("Generating nonce uuid")
uid = uuid.uuid4()
content_name = str(csvPath)
content_path = os.path.abspath(file)
content_path = csvPath
content_size = os.stat(content_path).st_size
print(content_name, content_path, content_size)