From 155b3e2006c654e8b96c00e100e90ec0dafa4729 Mon Sep 17 00:00:00 2001 From: Darryl Nixon Date: Sun, 16 Jul 2023 11:55:41 -0700 Subject: [PATCH] await mount_to_fs_handler in ShredDir --- melamine/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melamine/classes.py b/melamine/classes.py index 5832e0d..7a1c63e 100644 --- a/melamine/classes.py +++ b/melamine/classes.py @@ -33,7 +33,7 @@ class ShredDir(AsyncObject): self.contents = await self._get_contents() self.mount_points = set(m for m in self.get_mount_points()) self.mount_points.add(self.mount_point) - self.fs_handler = mount_to_fs_handler(self.mount_point) + self.fs_handler = await mount_to_fs_handler(self.mount_point) self.byte_size = sum(item.byte_size for item in self.contents) async def _get_contents(self) -> List: