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