Skip to content
Permalink
Browse files
Merge pull request #3100 from getnikola/fix-3099
Don't walk down .DS_Store, Fix #3099
  • Loading branch information
Kwpolska committed Jun 5, 2018
2 parents e4bdaa9 + b5a4216 commit 55702936ab5abd6b9ad5e9fc3315daa237af0517
Showing with 3 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +2 −0 nikola/plugins/task/listings.py
@@ -13,6 +13,7 @@ Bugfixes
--------

* Implement ``MARKDOWN_EXTENSION_CONFIGS`` properly (Issue #2970)
* Ignore ``.DS_Store`` when processing listings (Issue #3099)

New in v8.0.0b2 (changes since Beta 1)
======================================
@@ -222,6 +222,8 @@ def render_listing(in_name, out_name, input_folder, output_folder, folders=[], f
'clean': True,
}, self.kw["filters"])
for f in files:
if f == '.DS_Store':
continue
ext = os.path.splitext(f)[-1]
if ext in ignored_extensions:
continue

0 comments on commit 5570293

Please sign in to comment.