mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
Fix #1532
This commit is contained in:
parent
8a0b8898d7
commit
4486b1e295
@ -132,7 +132,7 @@ def is_hidden(abs_path, abs_root=''):
|
||||
|
||||
if sys.platform == 'win32':
|
||||
try:
|
||||
attrs = ctypes.windll.kernel32.GetFileAttributesW(py3compat.cast_unicode(path))
|
||||
attrs = ctypes.windll.kernel32.GetFileAttributesW(py3compat.cast_unicode(abs_path))
|
||||
except AttributeError:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user