1
0
Fork 0
forked from github/pelican

Make these patches compatible with upstream master

This commit is contained in:
Kyle Fuller 2012-03-01 14:19:46 +00:00
commit c5816c9c5a
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ class Page(object):
return {
'slug': getattr(self, 'slug', ''),
'lang': getattr(self, 'lang', 'en'),
'date': getattr(self, 'date', datetime.now()),
'date': getattr(self, 'date', datetime.datetime.now()),
'author': self.author,
'category': getattr(self, 'category', 'misc'),
}