mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-18 15:14:18 +02:00
Added and updated repositories 2026-01-10 01:09:56
This commit is contained in:
@@ -27,12 +27,15 @@
|
||||
# requires: pillow
|
||||
# ---------------------------------------------------------------------------------
|
||||
|
||||
import logging
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
from PIL import Image
|
||||
|
||||
from .. import loader, utils
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@loader.tds
|
||||
class ASCIIArtMod(loader.Module):
|
||||
@@ -99,7 +102,7 @@ class ASCIIArtMod(loader.Module):
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error generating ASCII art: {e}")
|
||||
logger.error(f"Error generating ASCII art: {e}")
|
||||
return None
|
||||
finally:
|
||||
if image_path and os.path.exists(image_path):
|
||||
|
||||
Reference in New Issue
Block a user