Mercurial > moin-mandarin
changeset 36:918f8c5fb15e
fix print view for 1.5.x
| author | RadomirDopieralski |
|---|---|
| date | Fri, 24 Oct 2008 14:32:22 +0000 |
| parents | 9e72371f86d3 |
| children | ac99dd4dd30b |
| files | mandarin.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mandarin.py Fri Oct 24 13:40:19 2008 +0000 +++ b/mandarin.py Fri Oct 24 14:32:22 2008 +0000 @@ -265,7 +265,7 @@ def title(self, d): title = d['title_text'] _ = self.request.getText - if title == d['page_name']: + if title == d.get('page_name', ''): html = self.pagepath(d) link_text = title.split('/')[-1] link_title = _('Click to do a full-text search for this title', formatted=False)
