Update main.py
This commit is contained in:
2
main.py
2
main.py
@@ -36,7 +36,7 @@ def bugmotion():
|
|||||||
|
|
||||||
#Sets Img path and filename, Saves to Working directory of Script
|
#Sets Img path and filename, Saves to Working directory of Script
|
||||||
# Grab the current time
|
# Grab the current time
|
||||||
filePath = cwd + "/Pictures"
|
filePath = cwd + "/Pictures/"
|
||||||
currentTime = datetime.now()
|
currentTime = datetime.now()
|
||||||
picTime = currentTime.strftime("%Y.%m.%d-%H%M")
|
picTime = currentTime.strftime("%Y.%m.%d-%H%M")
|
||||||
picName = "Capture-" + picTime + '-.jpg'
|
picName = "Capture-" + picTime + '-.jpg'
|
||||||
|
|||||||
Reference in New Issue
Block a user