Skip to content

Commit

Permalink
Move back code which was incorrectly moved to pronsole
Browse files Browse the repository at this point in the history
  • Loading branch information
iXce committed Mar 8, 2014
1 parent fdd8e15 commit 36eff4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions printrun/pronsole.py
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions printrun/pronterface.py
Expand Up @@ -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"))

Expand Down

0 comments on commit 36eff4a

Please sign in to comment.