Permalink
Browse files

Fix 'restart' option in 'finished' dialog.

  • Loading branch information...
1 parent 3990880 commit 1c696ed990c0b0a248cda4eccdbee73fb0922544 @inducer committed Aug 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 pudb/__init__.py
View
@@ -94,6 +94,9 @@ def runscript(mainpyfile, args=None, pre_run="", steal_output=False):
dbg.post_mortem = True
dbg.interaction(None, sys.exc_info(), show_exc_dialog=False)
+ if result == "restart":
+ break
+
pre_run = pre_run_edit.get_edit_text()
dbg.restart()

0 comments on commit 1c696ed

Please sign in to comment.