From 40dd7728dfaaa2c3bf581cd5d2cb856f72353d03 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Mon, 31 Jan 2022 09:29:43 +0100 Subject: [PATCH] uuid to str, fixed print --- windowsAgent/source/do.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windowsAgent/source/do.py b/windowsAgent/source/do.py index d7154c7..bff999a 100644 --- a/windowsAgent/source/do.py +++ b/windowsAgent/source/do.py @@ -25,10 +25,10 @@ def upload(csvPath): global serverurl global auth vprint("Generating nonce uuid") - uid = uuid.uuid4() + uid = str(uuid.uuid4()) content_path = csvPath 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") index = 0