diff options
author | Devaev Maxim <[email protected]> | 2020-12-21 01:59:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-21 01:59:49 +0300 |
commit | 42475809fcafef12d39a12b7dd2be49aea9d9b6f (patch) | |
tree | a56572c31a6128434d2c8b89e7d479a558965b47 /kvmd/plugins/msd/disabled.py | |
parent | 2cb210c975b37d4e9db06b8e121f42f7d09c6fe1 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r-- | kvmd/plugins/msd/disabled.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py index 179af7da..83746b4c 100644 --- a/kvmd/plugins/msd/disabled.py +++ b/kvmd/plugins/msd/disabled.py @@ -66,10 +66,7 @@ class Plugin(BaseMsd): async def set_params(self, name: Optional[str]=None, cdrom: Optional[bool]=None) -> None: raise MsdDisabledError() - async def connect(self) -> None: - raise MsdDisabledError() - - async def disconnect(self) -> None: + async def set_connected(self, connected: bool) -> None: raise MsdDisabledError() @contextlib.asynccontextmanager |