summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 4dacf1e4..179af7da 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -74,8 +74,7 @@ class Plugin(BaseMsd):
@contextlib.asynccontextmanager
async def write_image(self, name: str) -> AsyncGenerator[None, None]:
- if True: # pylint: disable=using-constant-test
- # XXX: Vulture hack
+ if self is not None: # XXX: Vulture and pylint hack
raise MsdDisabledError()
yield