We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be38e52 commit bc6b771Copy full SHA for bc6b771
jupyter_core/paths.py
@@ -384,7 +384,10 @@ def is_hidden(abs_path, abs_root=""):
384
The absolute path of the root directory in which hidden directories
385
should be checked for.
386
"""
387
- if os.path.normpath(abs_path) == os.path.normpath(abs_root):
+ abs_path = os.path.normpath(abs_path)
388
+ abs_root = os.path.normpath(abs_root)
389
+
390
+ if abs_path == abs_root:
391
return False
392
393
if is_file_hidden(abs_path):
0 commit comments