Skip to content

Commit

Permalink
client: bugfix: remove atexit from _prepare_terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 21, 2022
1 parent a5c84c7 commit dfde586
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rpcclient/rpcclient/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import ast
import atexit
import builtins
import contextlib
import logging
Expand Down Expand Up @@ -387,7 +386,6 @@ def _prepare_terminal(self):
return
fd = sys.stdin
self._old_settings = termios.tcgetattr(fd)
atexit.register(self._restore_terminal)
tty.setraw(fd)

def _recvall(self, size: int) -> bytes:
Expand Down

0 comments on commit dfde586

Please sign in to comment.