Skip to content

Commit

Permalink
keyboard interrupt exception abgefangen
Browse files Browse the repository at this point in the history
  • Loading branch information
Sören Giller authored and Sören Giller committed Jul 24, 2017
1 parent df47b35 commit 570f69b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
26 changes: 11 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions thinClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,7 @@ def main():
pass
else:
sys.exit()

main()
try:
main()
except KeyboardInterrupt:
print("Verbindung wurde getrennt")

0 comments on commit 570f69b

Please sign in to comment.