diff --git a/__init__.py b/__init__.py index c5a0770..0023b2e 100644 --- a/__init__.py +++ b/__init__.py @@ -291,7 +291,7 @@ async def migrate_legacy_information(request): await services.migrate_legacy_information() return web.json_response({"success": True}) except Exception as e: - error_msg = f"Download model info failed: {str(e)}" + error_msg = f"Migrate model info failed: {str(e)}" utils.print_error(error_msg) return web.json_response({"success": False, "error": error_msg}) diff --git a/py/services.py b/py/services.py index 184f7c5..cfc667f 100644 --- a/py/services.py +++ b/py/services.py @@ -290,5 +290,4 @@ async def migrate_legacy_information(): with open(description_path, "w", encoding="utf-8", newline="") as f: f.write("\n".join(description_parts)) - utils.print_debug("Completed migrate model information.")