Skip to content

Commit

Permalink
fix: preserve the type of interrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Jan 16, 2024
1 parent f3e8f8c commit 7ac2c6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charachorder/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ def populate_chordmaps(
if index == limit:
break

if interrupted := (manual_interrupt() or timed_out()):
if manual_interrupt() or timed_out():
interrupted = True
break

chordmaps.append(chordmap)
Expand Down

0 comments on commit 7ac2c6f

Please sign in to comment.