diff options
Diffstat (limited to 'kvmd/plugins/msd/otg/__init__.py')
-rw-r--r-- | kvmd/plugins/msd/otg/__init__.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index dde50fa1..1f670de5 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -388,13 +388,8 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes # ===== async def __close_writer(self) -> None: - try: - if self.__writer: - get_logger().info("Closing new image file ...") - await self.__writer.close() - except Exception: - get_logger().exception("Can't close image file") - finally: + if self.__writer: + await self.__writer.close() self.__writer = None # ===== |