Skip to content
Permalink
Browse files
Undo incorrect variable rename
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 19, 2018
1 parent 7db87dd commit d426ddf784e5e42519f82c90be4c19000a0a1d37
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/task/galleries.py
@@ -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

0 comments on commit d426ddf

Please sign in to comment.