mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1329 from smartass101/fix_caching_subclass_super
use correct CachingGenerator class in super() call
This commit is contained in:
commit
4f3a71d14b
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class CachingGenerator(Generator, FileStampDataCacher):
|
|||
def _get_file_stamp(self, filename):
|
||||
'''Get filestamp for path relative to generator.path'''
|
||||
filename = os.path.join(self.path, filename)
|
||||
return super(Generator, self)._get_file_stamp(filename)
|
||||
return super(CachingGenerator, self)._get_file_stamp(filename)
|
||||
|
||||
|
||||
class _FileLoader(BaseLoader):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue