Skip to content

Commit

Permalink
shell: Fix CTRL-C handling
Browse files Browse the repository at this point in the history
Fixes #197.
  • Loading branch information
dnicolodi committed Oct 5, 2024
1 parent 7577b6c commit c95133a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beanquery/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def cmdloop(self, intro=None):
super().cmdloop(intro)
break
except KeyboardInterrupt:
print('\n(interrupted)', file=self.stderr)
print('\n(interrupted)', file=sys.stderr)
except Exception as exc:
self.error(render_exception(exc))

Expand Down

0 comments on commit c95133a

Please sign in to comment.