From 84bfd6b63455fac21b17651f2a5e1213708d6d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sat, 29 Feb 2020 06:51:06 +0100 Subject: [PATCH] fix ModuleNotFound Exception --- workdirfs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workdirfs.py b/workdirfs.py index 9eebf9f..26031ce 100755 --- a/workdirfs.py +++ b/workdirfs.py @@ -21,9 +21,9 @@ try: except: try: from fusepy import FUSE, FuseOSError, Operations - except: - print("please install fusepy") - raise errno.ModuleNotFoundError + except ModuleNotFoundError as e: + print("please install fusepy", e) + raise class WorkdirFS(Operations):