From 552bb93212ef2a890b1493b2d9be022d3ece802b Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 3 Mar 2020 23:48:53 +0300 Subject: atomic fixes, removed tasked and muted --- kvmd/plugins/msd/otg/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'kvmd/plugins/msd/otg') 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 -- cgit v1.2.3