Skip to content
Permalink
Browse files

Fixing dependencies of gallery RSS generation.

  • Loading branch information
felixfontein committed Mar 8, 2015
1 parent dea2d09 commit f45eb3f14256ff12b8d4276f02a5a608a5d21e1b
Showing with 4 additions and 1 deletion.
  1. +4 −1 nikola/plugins/task/galleries.py
@@ -254,8 +254,11 @@ def gen_tasks(self):
context['post'] = None
file_dep = self.site.template_system.template_deps(
template_name) + image_list + thumbs
file_dep_dest = self.site.template_system.template_deps(
template_name) + dest_img_list + thumbs
if post:
file_dep += [post.translated_base_path(l) for l in self.kw['translations']]
file_dep_dest += [post.translated_base_path(l) for l in self.kw['translations']]

yield utils.apply_filters({
'basename': self.name,
@@ -289,7 +292,7 @@ def gen_tasks(self):
yield utils.apply_filters({
'basename': self.name,
'name': rss_dst,
'file_dep': file_dep,
'file_dep': file_dep_dest,
'targets': [rss_dst],
'actions': [
(self.gallery_rss, (

0 comments on commit f45eb3f

Please sign in to comment.