diff piecrust/sources/blogarchives.py @ 871:504ddb370df8

refactor: Fixing some issues with baking assets.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Jun 2017 22:30:27 -0700
parents d231a10d18f9
children d1095774bfcf
line wrap: on
line diff
--- a/piecrust/sources/blogarchives.py	Mon Jun 12 22:30:06 2017 -0700
+++ b/piecrust/sources/blogarchives.py	Tue Jun 13 22:30:27 2017 -0700
@@ -188,7 +188,7 @@
         prev_entry = ctx.previous_entry
         cur_entry = result.record_entry
         cur_entry.year = job.content_item.metadata['route_params']['year']
-        self._pagebaker.bake(page, prev_entry, cur_entry, [])
+        self._pagebaker.bake(page, prev_entry, cur_entry)
 
     def postJobRun(self, ctx):
         # Create bake entries for the years that were *not* dirty.