From c3c76f7e7cd1e8048271ab54991bcf820efac0b0 Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:18:02 +1000 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c109933..8a7fe6e 100644 --- a/main.py +++ b/main.py @@ -38,8 +38,8 @@ def bugmotion(): # Grab the current time filePath = cwd + "/Pictures" currentTime = datetime.now() - picTime = currentTime.strftime("%Y.%m.%d-%H%M%S") - picName = "Capture" + picTime + '.jpg' + picTime = currentTime.strftime("%Y.%m.%d-%H%M") + picName = "Capture-" + picTime + '-.jpg' completeFilePath = filePath + picName #file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg" print("\nFile Name is: " + completeFilePath)