Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 12, 2015
1 parent 1535de6 commit 8608905
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nikola/plugins/task/galleries.py
Expand Up @@ -102,8 +102,9 @@ def set_site(self, site):
self.find_galleries()
# Create self.gallery_links
self.create_galleries_paths()
site.inject_dependency('posts', 'render_galleries')
return super(Galleries, self).set_site(site)
r = super(Galleries, self).set_site(site)
self.inject_dependency('posts', 'render_galleries')
return r

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

0 comments on commit 8608905

Please sign in to comment.