fix ModuleNotFound Exception

This commit is contained in:
Jakobus Schürz 2020-02-29 06:51:06 +01:00
parent 76029d6389
commit 84bfd6b634

View file

@ -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):