fix: Remove unused variables in Spinner

This commit is contained in:
Paul Gauthier (aider) 2025-05-08 15:58:04 -07:00
parent 3a5a46253d
commit 01592afac3

View file

@ -286,10 +286,10 @@ class Spinner:
# If unicode is supported, swap the ASCII chars for nicer glyphs. # If unicode is supported, swap the ASCII chars for nicer glyphs.
if self._supports_unicode(): if self._supports_unicode():
scan_char, tail_char, trail_char = "", "=", "" scan_char, _, trail_char = "", "=", ""
frames = [f.replace("#", scan_char).replace("-", trail_char) for f in ascii_frames] frames = [f.replace("#", scan_char).replace("-", trail_char) for f in ascii_frames]
else: else:
scan_char, tail_char, trail_char = "#", "=", "-" scan_char, _, _ = "#", "=", "-"
frames = ascii_frames frames = ascii_frames
# Bounce the scanner back and forth. # Bounce the scanner back and forth.