Skip to content
Permalink
Browse files

Update __init__.py

  • Loading branch information
ralsina committed Dec 4, 2017
1 parent 285c12b commit 1d2e20a5194af5713f250c90291580fed1e0f58d
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/auto/__init__.py
@@ -275,7 +275,7 @@ def run_nikola_build(self, event):
# move on larger save operations for write protection
event_path = event.dest_path if hasattr(event, 'dest_path') else event.src_path
fname = os.path.basename(event_path)
is_hidden = os.stat('filename').st_file_attributes & stat.FILE_ATTRIBUTE_HIDDEN
is_hidden = os.stat(event_path).st_file_attributes & stat.FILE_ATTRIBUTE_HIDDEN
has_hidden_component = any(p.startswith('.') for p in event_path.split(os.sep))
if (is_hidden or has_hidden_component or
'__pycache__' in event_path or

0 comments on commit 1d2e20a

Please sign in to comment.
You can’t perform that action at this time.