Permalink
Browse files

Move back code which was incorrectly moved to pronsole

  • Loading branch information...
1 parent fdd8e15 commit 36eff4ab1f33da4774d2a97403674b7500fbae5c @iXce iXce committed Mar 8, 2014
Showing with 1 addition and 2 deletions.
  1. +0 −2 printrun/pronsole.py
  2. +1 −0 printrun/pronterface.py
View
@@ -1154,8 +1154,6 @@ def endcb(self):
print _("Print ended at: %(end_time)s and took %(duration)s") % {"end_time": format_time(time.time()),
"duration": format_duration(print_duration)}
- self.p.runSmallScript(self.endScript)
-
if not self.settings.final_command:
return
run_command(self.settings.final_command,
View
@@ -304,6 +304,7 @@ def startcb(self, resuming = False):
def endcb(self):
pronsole.pronsole.endcb(self)
if self.p.queueindex == 0:
+ self.p.runSmallScript(self.endScript)
wx.CallAfter(self.pausebtn.Disable)
wx.CallAfter(self.printbtn.SetLabel, _("Print"))

0 comments on commit 36eff4a

Please sign in to comment.