Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Dec 24, 2015
1 parent f0aac44 commit 66ffca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/nikola.py
Expand Up @@ -1295,10 +1295,10 @@ def url_replacer(self, src, dst, lang=None, url_type=None):

def _register_templated_shortcodes(self):
"""Register shortcodes provided by templates in shortcodes/ folders."""

builtin_sc_dir = resource_filename('nikola', os.path.join('data', 'shortcodes', utils.get_template_engine(self.THEMES)))
sc_dirs = [builtin_sc_dir, 'shortcodes']

for sc_dir in sc_dirs:
if not os.path.isdir(sc_dir):
continue
Expand Down

0 comments on commit 66ffca8

Please sign in to comment.