mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixes typo in error message for bad status
Bugfix #380 We want the bad status of page, not article.
This commit is contained in:
parent
a0e46c9106
commit
de251bc999
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ class PagesGenerator(Generator):
|
|||
hidden_pages.append(page)
|
||||
else:
|
||||
logger.warning(u"Unknown status %s for file %s, skipping it." %
|
||||
(repr(unicode.encode(article.status, 'utf-8')),
|
||||
(repr(unicode.encode(page.status, 'utf-8')),
|
||||
repr(f)))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue