summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/relay.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-05 09:23:48 +0300
committerDevaev Maxim <[email protected]>2019-10-05 09:23:48 +0300
commite97d48b363b79a27e0956fb7e8e187066e4b8e86 (patch)
treef2cd185e9cb66d7ff3e663f7517076774daaad20 /kvmd/plugins/msd/relay.py
parenta073113f383bdeac7a442eae04df2ece642eae5b (diff)
cdrom flag; written fix
Diffstat (limited to 'kvmd/plugins/msd/relay.py')
-rw-r--r--kvmd/plugins/msd/relay.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py
index d53e0720..926d6526 100644
--- a/kvmd/plugins/msd/relay.py
+++ b/kvmd/plugins/msd/relay.py
@@ -228,6 +228,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
"written": self.__written,
"current": current,
"storage": storage,
+ "cdrom": None,
"connected": (not self.__on_kvm),
}
@@ -317,7 +318,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
await self.__state_queue.put(state or self.get_state())
@_msd_working
- async def select(self, name: str) -> Dict:
+ async def select(self, name: str, cdrom: bool) -> Dict:
raise MsdMultiNotSupported()
@_msd_working