Skip to content
Permalink
Browse files

flake8

  • Loading branch information
ralsina committed Dec 24, 2015
1 parent f0aac44 commit 66ffca844c0aa942c93a2fdb466468beae4f5df9
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/nikola.py
@@ -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

0 comments on commit 66ffca8

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