diff options
Diffstat (limited to 'kvmd/plugins/msd/otg/__init__.py')
-rw-r--r-- | kvmd/plugins/msd/otg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index 9a741a88..bb5129a3 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -539,7 +539,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes def __set_image_complete(self, name: str, flag: bool) -> None: path = os.path.join(self.__meta_path, name + ".complete") if flag: - open(path, "w").close() + open(path, "w").close() # pylint: disable=consider-using-with else: if os.path.exists(path): os.remove(path) |