Skip to content

Commit

Permalink
Merge pull request #1577 from mkoske/fix/hide-files-on-windows
Browse files Browse the repository at this point in the history
Fix #1532
  • Loading branch information
takluyver authored Jun 29, 2016
2 parents 8a0b889 + 4486b1e commit 1b4af76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1b4af76

Please sign in to comment.