From 7057cccb08b3019a66c6cd238f63004c8137ca1f Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Mon, 31 Jan 2022 09:27:25 +0100 Subject: [PATCH] Fixed abspath --- windowsAgent/source/do.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/windowsAgent/source/do.py b/windowsAgent/source/do.py index 036aa61..d7154c7 100644 --- a/windowsAgent/source/do.py +++ b/windowsAgent/source/do.py @@ -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)