From 9e83562a5b6f04bc0e232b7fd4303372ac676b98 Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:21:30 +1000 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7c1036a..a3e7033 100644 --- a/main.py +++ b/main.py @@ -39,7 +39,7 @@ def bugmotion(): filePath = cwd + "/Pictures/" currentTime = datetime.now() picTime = currentTime.strftime("%Y.%m.%d-%H%M") - picName = "Capture-" + picTime + '-.jpg' + picName = "Capture-" + picTime + '.jpg' completeFilePath = filePath + picName #file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg" print("\nFile Name is: " + completeFilePath)