2
main.py
2
main.py
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user