Merge pull request #4 from Jordan-Fielding/Development

Update main.py
This commit is contained in:
Jordan-Fielding
2022-07-11 10:52:17 +10:00
committed by GitHub

View File

@@ -47,7 +47,7 @@ def bugmotion():
# Grab the current time
filePath = cwd + "/Pictures/"
currentTime = datetime.now()
picTime = currentTime.strftime("%Y.%m.%d-%H%M")
picTime = currentTime.strftime("%Y-%m-%d-%H-%M-%S")
picName = "Capture-" + picTime + '.jpg'
completeFilePath = filePath + picName
#file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg"