summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/otg.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/msd/otg.py')
-rw-r--r--kvmd/plugins/msd/otg.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/otg.py b/kvmd/plugins/msd/otg.py
index 70bb3f05..db1c2254 100644
--- a/kvmd/plugins/msd/otg.py
+++ b/kvmd/plugins/msd/otg.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 MsdCliOnlyError()
- async def select(self, name: str) -> Dict:
+ async def select(self, name: str, cdrom: bool) -> Dict:
raise MsdCliOnlyError()
async def remove(self, name: str) -> Dict: