From 710d154764bff3f82b011a7a855a72744e66e433 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 17 May 2011 08:05:20 +0200 Subject: [PATCH] Combine files when the resource is complete (after templating). Templating engine uses a cache that will keep an old version of the combined files because the main file was not modified. --- hyde/ext/plugins/combine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyde/ext/plugins/combine.py b/hyde/ext/plugins/combine.py index c4b2a82..6c9ef64 100644 --- a/hyde/ext/plugins/combine.py +++ b/hyde/ext/plugins/combine.py @@ -82,7 +82,7 @@ class CombinePlugin(Plugin): "Resource [%s] removed because combined" % r) r.is_processable = False - def begin_text_resource(self, resource, text): + def text_resource_complete(self, resource, text): """ When generating a resource, add combined file if needed. """