summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-24 00:03:31 +0300
committerDevaev Maxim <[email protected]>2019-09-24 00:03:31 +0300
commitaee005787c1c1082e50224fc492409e49b60d389 (patch)
treee531c4a616df4ebde6c69988e5a7c1bc21bf28df /kvmd/plugins/msd/disabled.py
parent661828502e7f9e3b8afcdff8def9678937de97a9 (diff)
preparing to otg
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py9
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: