Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Dec 4, 2017
1 parent 4920fb6 commit 285c12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -277,7 +277,7 @@ def run_nikola_build(self, event):
fname = os.path.basename(event_path)
is_hidden = os.stat('filename').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_parent or
if (is_hidden or has_hidden_component or
'__pycache__' in event_path or
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak', '~')) or
event.is_directory): # Skip on folders, these are usually duplicates
Expand Down

0 comments on commit 285c12b

Please sign in to comment.