Skip to content

Commit

Permalink
Handle single word episode text in Star Wars card
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist authored Jun 26, 2023
1 parent 51e4ef2 commit 28e5e03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/cards/StarWarsTitleCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __init__(self,
(prefix, text)
)
else:
self.episode_text = None
self.episode_prefix = self.image_magick.escape_chars(
episode_text
)
Expand Down Expand Up @@ -235,4 +236,4 @@ def create(self) -> None:
f'"{self.output_file.resolve()}"',
])

self.image_magick.run(command)
self.image_magick.run(command)

0 comments on commit 28e5e03

Please sign in to comment.