diff options
author | Devaev Maxim <[email protected]> | 2021-07-08 16:52:51 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-07-08 16:52:51 +0300 |
commit | 7c68b6b406b1ab864b832be814458a93717ce908 (patch) | |
tree | dd9ea3b93a76fdae365b88afa746754d95fe2d16 /kvmd/plugins/msd/otg | |
parent | 43aa435b81980ff5bc7a4b6ccacebde9d4ee2167 (diff) |
lint fixes
Diffstat (limited to 'kvmd/plugins/msd/otg')
-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) |