Skip to content

Commit

Permalink
Fix crash on track switch + vis (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenottingham authored Jul 13, 2024
1 parent bb80906 commit eb369f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tuatara/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def display_info(self, player):
def display_ascii(image):
CHAR_RAMP = " ...',;:clodxkO0KXNWM"

if not image:
return

output = ""
img = image.resize((self.art_box.width, self.art_box.height))

Expand Down

0 comments on commit eb369f0

Please sign in to comment.