Skip to content

Commit

Permalink
refactor: make formatを適用
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya121 committed Aug 31, 2024
1 parent d00f456 commit 5eef34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/flask_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_image() -> jsonify:
# TODO: 現在は、1枚目のフィグ画像、プラレール画像の場合に競技システムへアップロードしている
if file_name == 'Fig_1.jpeg' or file_name == 'Pla.jpeg':
OfficialInterface.upload_snap(file_path)

return jsonify({"message": "File uploaded successfully"}), 200

# '/run-log'へのPOSTリクエストに対する操作
Expand Down Expand Up @@ -149,4 +149,4 @@ def send_run_log() -> jsonify:
ip = connect_interface.getsockname()[0]
connect_interface.close()

app.run(host=ip, port=8000)
app.run(host=ip, port=8000)

0 comments on commit 5eef34e

Please sign in to comment.