summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/wrapfs/lazyfs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/wrapfs/lazyfs.py b/fs/wrapfs/lazyfs.py
index 0c1d2e9..16ab1a7 100644
--- a/fs/wrapfs/lazyfs.py
+++ b/fs/wrapfs/lazyfs.py
@@ -80,6 +80,8 @@ class LazyFS(WrapFS):
self._fsclass = fs
self._fsargs = []
self._fskwds = {}
+ elif fs is None:
+ del self.__dict__['wrapped_fs']
else:
self._fsclass = fs[0]
try: