Skip to content

Commit

Permalink
Fix some minor bug (#62)
Browse files Browse the repository at this point in the history
* Fix print info

* Delete empty line
  • Loading branch information
hayden-fr authored Nov 25, 2024
1 parent 1796b10 commit 8b6c6eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down
1 change: 0 additions & 1 deletion py/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

0 comments on commit 8b6c6eb

Please sign in to comment.