aboutsummaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 1370c54..c436f21 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -156,7 +156,7 @@ async def process(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
156 if ExifTags.TAGS[key] == "Model": 156 if ExifTags.TAGS[key] == "Model":
157 camera_model = val 157 camera_model = val
158 elif ExifTags.TAGS[key] == "DateTime": 158 elif ExifTags.TAGS[key] == "DateTime":
159 shot_datetime = val 159 shot_datetime = datetime.strptime(val, "%Y:%m:%d %H:%M:%S")
160 160
161 output = io.BytesIO() 161 output = io.BytesIO()
162 im.save(output, format="webp", lossless=False, quality=80) 162 im.save(output, format="webp", lossless=False, quality=80)
Powered by cgit v1.2.3 (git 2.41.0)