Skip to content
Permalink
Browse files

lint

  • Loading branch information
ralsina committed Jun 23, 2017
1 parent f563501 commit f43ad87cf2828d499714c83e2ee9f9f8a2467f2a
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/task/galleries.py
@@ -247,8 +247,8 @@ def gen_tasks(self):
img_metadata.append(metadata)

for idx, fn in enumerate(image_name_list):
metadata, newstyle = get_metadata_from_meta_file(os.path.join(gallery,fn))
if metadata != None:
metadata, *_ = get_metadata_from_meta_file(os.path.join(gallery, fn))
if metadata is not None:
img_metadata[idx].update(metadata)

thumbs = ['.thumbnail'.join(os.path.splitext(p)) for p in image_list]

0 comments on commit f43ad87

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