Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8608905

Browse files
committedMay 12, 2015
oops
1 parent 1535de6 commit 8608905

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

Diff for: ‎nikola/plugins/task/galleries.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ def set_site(self, site):
102102
self.find_galleries()
103103
# Create self.gallery_links
104104
self.create_galleries_paths()
105-
site.inject_dependency('posts', 'render_galleries')
106-
return super(Galleries, self).set_site(site)
105+
r = super(Galleries, self).set_site(site)
106+
self.inject_dependency('posts', 'render_galleries')
107+
return r
107108

108109
def _find_gallery_path(self, name):
109110
# The system using self.proper_gallery_links and self.improper_gallery_links

0 commit comments

Comments
 (0)
Please sign in to comment.