mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
cdrom flag; written fix
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user