summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.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/disabled.py
parenta073113f383bdeac7a442eae04df2ece642eae5b (diff)
cdrom flag; written fix
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 5eb3083b..eafbdd65 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -46,9 +46,10 @@ class Plugin(BaseMsd):
"online": False,
"busy": False,
"uploading": False,
- "written": False,
+ "written": 0,
"current": None,
"storage": None,
+ "cdrom": None,
"connected": False,
}
@@ -68,7 +69,7 @@ class Plugin(BaseMsd):
async def disconnect(self) -> Dict:
raise MsdDisabledError()
- async def select(self, name: str) -> Dict:
+ async def select(self, name: str, cdrom: bool) -> Dict:
raise MsdDisabledError()
async def remove(self, name: str) -> Dict: