mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-29 17:01:44 +01:00
22 lines
323 B
Python
22 lines
323 B
Python
|
import logging
|
||
|
|
||
|
|
||
|
import aiohttp
|
||
|
|
||
|
|
||
|
class SystemController:
|
||
|
|
||
|
def __init__(self, cbpi):
|
||
|
self.cbpi = cbpi
|
||
|
self.service = cbpi.actor
|
||
|
self.logger = logging.getLogger(__name__)
|
||
|
|
||
|
self.cbpi.app.on_startup.append(self.check_for_update)
|
||
|
|
||
|
|
||
|
async def check_for_update(self, app):
|
||
|
pass
|
||
|
|
||
|
|
||
|
|