summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/disabled.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-26 12:26:31 +0300
committerDevaev Maxim <[email protected]>2021-05-26 12:26:31 +0300
commite4806297242c69fab8967b7e1d2d1a81dd17d744 (patch)
treeae61f672848a5e3289c6d75371b71c01e2bc1722 /kvmd/plugins/msd/disabled.py
parent5da412ae7cad952c58e5190aaabed39afd3cdb66 (diff)
speed up msd
Diffstat (limited to 'kvmd/plugins/msd/disabled.py')
-rw-r--r--kvmd/plugins/msd/disabled.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/plugins/msd/disabled.py b/kvmd/plugins/msd/disabled.py
index 0904c798..0f524ce9 100644
--- a/kvmd/plugins/msd/disabled.py
+++ b/kvmd/plugins/msd/disabled.py
@@ -75,6 +75,9 @@ class Plugin(BaseMsd):
raise MsdDisabledError()
yield
+ def get_upload_chunk_size(self) -> int:
+ raise MsdDisabledError()
+
async def write_image_chunk(self, chunk: bytes) -> int:
raise MsdDisabledError()