Skip to content

Commit

Permalink
Fix precommit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Mar 23, 2024
1 parent 0a75b32 commit a1d8070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/frame_service/wavu/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _convert_json_move(move_json: Any) -> WavuMove:
if "video" in move_json and move_json["video"]:
video = _process_links(move_json["video"])
video_name = video.split(":")[-1]
video_name=video_name.replace(" ","_")
video_name = video_name.replace(" ", "_")
video = WAVU_VIDEO_LINK + video_name
else:
video = ""
Expand Down
4 changes: 1 addition & 3 deletions src/heihachi/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ def get_move_embed(frame_service: FrameService, character: Character, move: Move
embed.set_image(url=move.image)

if move.video:
embed.add_field(name="Video", value=f'[Link]({move.video})', inline=False)

# TODO: include move.video in a nice way
embed.add_field(name="Video", value=f"[Link]({move.video})", inline=False)

return embed

Expand Down

0 comments on commit a1d8070

Please sign in to comment.