This commit is contained in:
Miika Koskela 2016-06-29 12:33:02 +03:00 committed by GitHub
parent 8a0b8898d7
commit 4486b1e295

View File

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