Update main.py

This commit is contained in:
Jordan-Fielding
2022-07-07 15:19:33 +10:00
parent c3c76f7e7c
commit 4d033affa3

View File

@@ -36,7 +36,7 @@ def bugmotion():
#Sets Img path and filename, Saves to Working directory of Script
# Grab the current time
filePath = cwd + "/Pictures"
filePath = cwd + "/Pictures/"
currentTime = datetime.now()
picTime = currentTime.strftime("%Y.%m.%d-%H%M")
picName = "Capture-" + picTime + '-.jpg'