summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-07-08 16:52:51 +0300
committerDevaev Maxim <[email protected]>2021-07-08 16:52:51 +0300
commit7c68b6b406b1ab864b832be814458a93717ce908 (patch)
treedd9ea3b93a76fdae365b88afa746754d95fe2d16 /kvmd/plugins
parent43aa435b81980ff5bc7a4b6ccacebde9d4ee2167 (diff)
lint fixes
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/msd/otg/__init__.py2
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)