Skip to content

Commit

Permalink
You are right, codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed Apr 28, 2017
1 parent 284eb11 commit 1ccbecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/shortcodes.py
Expand Up @@ -223,7 +223,7 @@ def _extract_shortcodes(data):
in_sc = False
buffer = []
shortcodes = {}
for i, chunk in enumerate(splitted):
for chunk in splitted:
if chunk[0] == 'TEXT':
if in_sc:
buffer.append(chunk)
Expand Down

0 comments on commit 1ccbecf

Please sign in to comment.