# HG changeset patch # User mdd # Date 1535099267 -7200 # Node ID 700241b53fe79071aca0c3b8445d2b6027df3c8d # Parent 926424f97c8eac50a3b2128d50a6b2b14cae5502 disabled power management, since it prevents also going monitor to sleep diff -r 926424f97c8e -r 700241b53fe7 printrun-src/printrun/pronsole.py --- a/printrun-src/printrun/pronsole.py Thu Aug 23 12:32:26 2018 +0200 +++ b/printrun-src/printrun/pronsole.py Fri Aug 24 10:27:47 2018 +0200 @@ -1169,18 +1169,18 @@ if output: self.log("Start command output:") self.log(output.rstrip()) - try: - powerset_print_start(reason = "Preventing sleep during print") - except: - self.logError(_("Failed to set power settings:") - + "\n" + traceback.format_exc()) + #try: + # powerset_print_start(reason = "Preventing sleep during print") + #except: + # self.logError(_("Failed to set power settings:") + # + "\n" + traceback.format_exc()) def endcb(self): - try: - powerset_print_stop() - except: - self.logError(_("Failed to set power settings:") - + "\n" + traceback.format_exc()) + #try: + # powerset_print_stop() + #except: + # self.logError(_("Failed to set power settings:") + # + "\n" + traceback.format_exc()) if self.p.queueindex == 0: print_duration = int(time.time() - self.starttime + self.extra_print_time) self.log(_("Print ended at: %(end_time)s and took %(duration)s") % {"end_time": format_time(time.time()),