Do not rise, but end the scope

master
Miro Hrončok 2013-01-23 17:12:01 +01:00
parent 064974b733
commit 354bfb090f
1 changed files with 2 additions and 2 deletions

View File

@ -1436,8 +1436,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
print _("You might need to add yourself to the dialout group.")
else:
print e
# Kill the thread anyway
raise
# Kill the scope anyway
return
self.statuscheck = True
if port != self.settings.port:
self.set("port", port)