From b6be0a10913bd773feb7679ce9dd945ec04f047b Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Wed, 1 May 2019 21:57:09 +0200 Subject: [PATCH] Remove semicolon in screenshot name in case of FAT FS --- .config/i3/scripts/screenshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/scripts/screenshot.py b/.config/i3/scripts/screenshot.py index 7deac2e..8a1cb41 100755 --- a/.config/i3/scripts/screenshot.py +++ b/.config/i3/scripts/screenshot.py @@ -60,7 +60,7 @@ def save_img(path, img, img_format): pathlib.Path(path).mkdir(parents=True, exist_ok=True) # 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. # We get binary from maim, so open in binary mode