Remove semicolon in screenshot name in case of FAT FS
parent
6db5a43407
commit
b6be0a1091
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue