diff options
author | Maxim Devaev <[email protected]> | 2022-08-04 04:04:10 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-08-04 04:04:10 +0300 |
commit | 9ee63aba3ead6493acd01c89ffe17c503cdb4017 (patch) | |
tree | 16b2ee2c5daf1a45f255fc3b2d8d5bd1e79de94b /kvmd/plugins/msd/relay/drive.py | |
parent | 9925198762ab355343eb759e8117827a17645508 (diff) |
refactored msd writer api
Diffstat (limited to 'kvmd/plugins/msd/relay/drive.py')
-rw-r--r-- | kvmd/plugins/msd/relay/drive.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/relay/drive.py b/kvmd/plugins/msd/relay/drive.py index 2e95e837..e1301f99 100644 --- a/kvmd/plugins/msd/relay/drive.py +++ b/kvmd/plugins/msd/relay/drive.py @@ -32,7 +32,7 @@ from typing import Optional from .... import aiotools from .... import aiofs -from .. import MsdImageWriter +from .. import MsdFileWriter # ===== @@ -121,7 +121,7 @@ class DeviceInfo: image=image_info, ) - async def write_image_info(self, device_writer: MsdImageWriter, complete: bool) -> bool: + async def write_image_info(self, device_writer: MsdFileWriter, complete: bool) -> bool: device_file = device_writer.get_file() state = device_writer.get_state() image_info = ImageInfo(state["name"], state["written"], complete) |