added cost to web interface

This commit is contained in:
jbruce12000
2022-09-11 14:10:38 -04:00
parent e45709a5a4
commit 7b646c95cf
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -295,6 +295,7 @@ class Oven(threading.Thread):
def reset_if_schedule_ended(self):
if self.runtime > self.totaltime:
log.info("schedule ended, shutting down")
log.info("total cost = %s%.2f" % (config.currency_type,self.cost))
self.abort_run()
def update_cost(self):