From a74cadec98f34949c50b976bf9a62024649adfae Mon Sep 17 00:00:00 2001 From: Wang Guan Date: Tue, 23 Apr 2024 02:24:02 +0900 Subject: [PATCH] make ruff happy --- app/apis/manga_image_translator.py | 2 +- manage.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/apis/manga_image_translator.py b/app/apis/manga_image_translator.py index b130798..358d0d4 100644 --- a/app/apis/manga_image_translator.py +++ b/app/apis/manga_image_translator.py @@ -3,7 +3,7 @@ from flask import request from app.exceptions.base import UploadFileNotFoundError -from app.tasks.mit import preprocess_mit, mit_ocr, mit_detect_text, mit_translate +from app.tasks.mit import mit_ocr, mit_detect_text, mit_translate from app.tasks import queue_task, wait_result_sync from app import app_config from werkzeug.datastructures import FileStorage diff --git a/manage.py b/manage.py index d9b2c53..9d48102 100644 --- a/manage.py +++ b/manage.py @@ -1,7 +1,6 @@ import os - +import re import click - import logging from app import create_app, init_db