mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-22 06:58:17 +01:00
fix typos in step controller
This commit is contained in:
parent
fec02047ad
commit
14f1bd6dd4
1 changed files with 2 additions and 2 deletions
|
@ -230,7 +230,7 @@ class StepController:
|
||||||
await self.save()
|
await self.save()
|
||||||
|
|
||||||
async def shutdown(self, app=None):
|
async def shutdown(self, app=None):
|
||||||
logging.info("Mash Profile Shutdonw")
|
logging.info("Mash Profile Shutdown")
|
||||||
for p in self.profile:
|
for p in self.profile:
|
||||||
instance = p.instance
|
instance = p.instance
|
||||||
# Stopping all running task
|
# Stopping all running task
|
||||||
|
@ -293,7 +293,7 @@ class StepController:
|
||||||
item = self.find_by_id(id)
|
item = self.find_by_id(id)
|
||||||
await item.instance.__getattribute__(action)(**parameter)
|
await item.instance.__getattribute__(action)(**parameter)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error("Step Controller -Faild to call action on {} {} {}".format(id, action, e))
|
logging.error("Step Controller -Failed to call action on {} {} {}".format(id, action, e))
|
||||||
|
|
||||||
async def load_recipe(self, data):
|
async def load_recipe(self, data):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue