summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/otg
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-03-03 23:48:53 +0300
committerDevaev Maxim <[email protected]>2020-03-03 23:48:53 +0300
commit552bb93212ef2a890b1493b2d9be022d3ece802b (patch)
tree7ce3dd397b5fa6a78fac54f5d4c9d3bf71366008 /kvmd/plugins/msd/otg
parent3b16242cfa4b656ba7d396a600b452184aac6c76 (diff)
atomic fixes, removed tasked and muted
Diffstat (limited to 'kvmd/plugins/msd/otg')
-rw-r--r--kvmd/plugins/msd/otg/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py
index ff5014cb..a65f989f 100644
--- a/kvmd/plugins/msd/otg/__init__.py
+++ b/kvmd/plugins/msd/otg/__init__.py
@@ -352,6 +352,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
await self.__state_notifier.notify()
return self.__new_file_written
+ @aiotools.atomic
async def remove(self, name: str) -> None:
async with self.__state.busy():
assert self.__state.storage