Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Undo incorrect variable rename
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 19, 2018
1 parent 7db87dd commit d426ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/task/galleries.py
Expand Up @@ -672,10 +672,10 @@ def url_from_path(p):
# Do we have any orphan entries from metadata.yml, or
# are the files from the gallery not listed in metadata.yml?
if photo_info:
for key in sorted(photo_info):
for entry in sorted(photo_info):
photo_array.append(photo_info[entry])
else:
for key in sorted(photo_info):
for entry in sorted(photo_info):
photo_array.append(photo_info[entry])

context['photo_array'] = photo_array
Expand Down

0 comments on commit d426ddf

Please sign in to comment.