mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-02 19:15:26 +00:00
EOFError catching
This commit is contained in:
parent
54e23c4f35
commit
7cf80b548f
|
@ -272,11 +272,11 @@ def console(ripper):
|
|||
|
||||
elif choice in ("help", "h", "?"):
|
||||
menu(unicode, 0)
|
||||
except KeyboardInterrupt:
|
||||
except (KeyboardInterrupt, EOFError):
|
||||
print ("")
|
||||
pass
|
||||
|
||||
except KeyboardInterrupt:
|
||||
except (KeyboardInterrupt, EOFError):
|
||||
sys.exit(0)
|
||||
|
||||
#======================
|
||||
|
|
Loading…
Reference in a new issue