🐛[bugfix] Model : overlayのリスタート処理を修正

This commit is contained in:
misyaguziya
2024-12-17 23:44:44 +09:00
parent e8d195410e
commit a1b9aed8a9
2 changed files with 16 additions and 5 deletions

View File

@@ -2,7 +2,12 @@ from os import path as os_path
from datetime import datetime
from typing import Tuple
from PIL import Image, ImageDraw, ImageFont
from utils import errorLogging
try:
from utils import errorLogging
except ImportError:
def errorLogging():
import traceback
print(traceback.format_exc())
class OverlayImage:
LANGUAGES = {