1
0
mirror of synced 2025-02-15 09:52:35 +01:00

Formatted log print

Change log level
This commit is contained in:
SoulGateKey 2024-11-11 21:11:33 +08:00
parent f272e97eae
commit 8a6250bebd

View File

@ -389,7 +389,7 @@ class Mai2Frontend(FE_Base):
for _, _, files in walk("out_folder"):
if not files:
break
matcher = re.match("^(\d+)_(\d+)$", files[0])
if not matcher:
break
@ -410,6 +410,7 @@ class Mai2Frontend(FE_Base):
try:
im = p.close()
im.save(f"{out_folder}.jpeg")
self.logger.info(f"{out_folder}.jpeg generated.")
except Exception as e:
self.logger.error(f"{photo_id} failed PIL validation! - {e}")