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.") print _("You might need to add yourself to the dialout group.")
else: else:
print e print e
# Kill the thread anyway # Kill the scope anyway
raise return
self.statuscheck = True self.statuscheck = True
if port != self.settings.port: if port != self.settings.port:
self.set("port", port) self.set("port", port)