2
main.py
2
main.py
@@ -47,7 +47,7 @@ def bugmotion():
|
|||||||
# 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-%S")
|
||||||
picName = "Capture-" + picTime + '.jpg'
|
picName = "Capture-" + picTime + '.jpg'
|
||||||
completeFilePath = filePath + picName
|
completeFilePath = filePath + picName
|
||||||
#file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg"
|
#file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg"
|
||||||
|
|||||||
Reference in New Issue
Block a user