summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/metadata/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/metadata/__init__.py')
-rw-r--r--Lib/importlib/metadata/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py
index f5172ee..b3e8fb0 100644
--- a/Lib/importlib/metadata/__init__.py
+++ b/Lib/importlib/metadata/__init__.py
@@ -748,7 +748,7 @@ class FastPath:
def children(self):
with suppress(Exception):
- return os.listdir(self.root or '')
+ return os.listdir(self.root or '.')
with suppress(Exception):
return self.zip_children()
return []