diff options
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r-- | kvmd/plugins/msd/disabled.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py index dab0f406..56ed10db 100644 --- a/kvmd/plugins/msd/disabled.py +++ b/kvmd/plugins/msd/disabled.py @@ -46,8 +46,9 @@ class Plugin(BaseMsd): "busy": False, "uploading": False, "written": False, - "info": None, - "connected_to": None, + "current": None, + "storage": None, + "connected": False, } async def poll_state(self) -> AsyncGenerator[Dict, None]: @@ -55,10 +56,10 @@ class Plugin(BaseMsd): yield self.get_state() await asyncio.sleep(60) - async def connect_to_kvm(self) -> Dict: + async def connect(self) -> Dict: raise MsdDisabledError() - async def connect_to_server(self) -> Dict: + async def disconnect(self) -> Dict: raise MsdDisabledError() async def reset(self) -> None: |