Remove semicolon in screenshot name in case of FAT FS

master
Quentin Duchemin 2019-05-01 21:57:09 +02:00
parent 6db5a43407
commit b6be0a1091
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def save_img(path, img, img_format):
pathlib.Path(path).mkdir(parents=True, exist_ok=True) pathlib.Path(path).mkdir(parents=True, exist_ok=True)
# Get date formatted with second granularity # Get date formatted with second granularity
date = time.strftime("%Y-%m-%d_%H:%M:%S") date = time.strftime("%Y-%m-%d_%H-%M-%S")
# Write image to appropriate file. # Write image to appropriate file.
# We get binary from maim, so open in binary mode # We get binary from maim, so open in binary mode