diff options
author | Devaev Maxim <[email protected]> | 2019-11-16 19:53:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-11-16 19:53:05 +0300 |
commit | cb6a6ed1d64847c578f42253716f9263b44e091e (patch) | |
tree | 1615e302613893fa5efaac7e0c5550d75ac12c4d /kvmd | |
parent | f0ffbe5b4a7c2ee74bac8e0fc4d4c64eb41d4c1a (diff) |
fixed exception on msd uploading abort
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/msd/otg/__init__.py | 1 | ||||
-rw-r--r-- | kvmd/plugins/msd/relay.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index d435706a..d8a5e9b7 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -343,7 +343,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes await self.__reload_state() await self.__changes_queue.put(None) - @aiotools.atomic async def write_image_chunk(self, chunk: bytes) -> int: assert self.__new_file await aiotools.afile_write_now(self.__new_file, chunk) diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py index 46b5a371..1bec7d48 100644 --- a/kvmd/plugins/msd/relay.py +++ b/kvmd/plugins/msd/relay.py @@ -337,7 +337,6 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes self.__region.exit() await self.__state_queue.put(await self.get_state()) - @aiotools.atomic async def write_image_chunk(self, chunk: bytes) -> int: assert self.__device_file await aiotools.afile_write_now(self.__device_file, chunk) |