Skip to content

Commit

Permalink
Fixing wrong file_deps for copy_assets's copy tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Sep 1, 2015
1 parent 261e796 commit 3d3419f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nikola/plugins/task/copy_assets.py
Expand Up @@ -77,7 +77,9 @@ def gen_tasks(self):
task['uptodate'] = [utils.config_changed(kw, 'nikola.plugins.task.copy_assets')]
task['basename'] = self.name
if code_css_input:
task['file_dep'] = [code_css_input]
if 'file_dep' not in task:
task['file_dep'] = []
task['file_dep'].append(code_css_input)
yield utils.apply_filters(task, kw['filters'])

# Check whether or not there is a code.css file around.
Expand Down

0 comments on commit 3d3419f

Please sign in to comment.