summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-06-08 03:12:24 +0300
committerDevaev Maxim <[email protected]>2021-06-08 03:12:24 +0300
commitb5ab5699c439a88c17eafc2800a5c9e7213aa3c4 (patch)
tree2f1160f781b013f45e12612d2ae9dcc301e87d73 /kvmd/plugins/msd/disabled.py
parentcf08c04e55742beefbe5d642ff5bfa2fd7d3dff8 (diff)
pikvm/pikvm#321: server-side uploading counters
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 0f524ce9..fc1979e0 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -70,7 +70,7 @@ class Plugin(BaseMsd):
raise MsdDisabledError()
@contextlib.asynccontextmanager
- async def write_image(self, name: str) -> AsyncGenerator[None, None]:
+ async def write_image(self, name: str, size: int) -> AsyncGenerator[None, None]:
if self is not None: # XXX: Vulture and pylint hack
raise MsdDisabledError()
yield