diff options
author | Maxim Devaev <[email protected]> | 2022-07-23 13:48:31 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-23 13:48:31 +0300 |
commit | aa569a73524115c5e7bca413986bdc2199b8eae6 (patch) | |
tree | 9f6d3320bbb4cd457a82b0e9d34b0c5444051aae /kvmd/apps | |
parent | 3e402f4d7b6817a2c2d8b6f3cea46da5420e8dc1 (diff) |
removed some newlines
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/kvmd/api/msd.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kvmd/apps/kvmd/api/msd.py b/kvmd/apps/kvmd/api/msd.py index cedc0aa1..111aafab 100644 --- a/kvmd/apps/kvmd/api/msd.py +++ b/kvmd/apps/kvmd/api/msd.py @@ -87,7 +87,6 @@ class MsdApi: async def __write_handler(self, request: Request) -> Response: name = valid_msd_image_name(request.query.get("image")) size = valid_int_f0(request.content_length) - written = 0 async with self.__msd.write_image(name, size) as chunk_size: while True: @@ -95,7 +94,6 @@ class MsdApi: if not chunk: break written = await self.__msd.write_image_chunk(chunk) - return make_json_response(self.__make_write_info(name, size, written)) @exposed_http("POST", "/msd/write_remote") |