diff --git a/main.py b/main.py index 7f31ca4..c109933 100644 --- a/main.py +++ b/main.py @@ -36,12 +36,13 @@ def bugmotion(): #Sets Img path and filename, Saves to Working directory of Script # Grab the current time + filePath = cwd + "/Pictures" currentTime = datetime.now() picTime = currentTime.strftime("%Y.%m.%d-%H%M%S") - picName = picTime + '.jpg' + picName = "Capture" + picTime + '.jpg' completeFilePath = filePath + picName - file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg" - print("\nFile Name is: " + file_name) + #file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg" + print("\nFile Name is: " + completeFilePath) #Used to wait for 0.1 Seconds for Camera to be ready