diff options
author | Maxim Devaev <[email protected]> | 2022-07-24 15:42:43 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-24 15:42:43 +0300 |
commit | 1564c6872739b64754ca548e5f58248465c31810 (patch) | |
tree | 2da351590d209c35f33b71aa71e775f4867264a2 /kvmd/plugins/msd/relay/__init__.py | |
parent | 800da7167085250c5989a14bf10e5c70cae35674 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/msd/relay/__init__.py')
-rw-r--r-- | kvmd/plugins/msd/relay/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/relay/__init__.py b/kvmd/plugins/msd/relay/__init__.py index 2b45bce3..c4891a96 100644 --- a/kvmd/plugins/msd/relay/__init__.py +++ b/kvmd/plugins/msd/relay/__init__.py @@ -237,7 +237,12 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes if self.__connected: raise MsdConnectedError() - self.__device_writer = await MsdImageWriter(self.__device_info.path, size, self.__sync_chunk_size).open() + self.__device_writer = await MsdImageWriter( + notifier=self.__notifier, + path=self.__device_info.path, + size=size, + sync=self.__sync_chunk_size, + ).open() await self.__write_image_info(False) await self.__notifier.notify() |