changeset 180:6c208fae1c28

fixed UnicodeError in PageHits imported from: moin--main--1.5--patch-182
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 01 Nov 2005 08:35:10 +0000
parents 2267638ceedd
children f4a9643a24de
files MoinMoin/macro/PageHits.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/PageHits.py	Mon Oct 31 21:11:47 2005 +0000
+++ b/MoinMoin/macro/PageHits.py	Tue Nov 01 08:35:10 2005 +0000
@@ -62,7 +62,6 @@
             if event[0] <= cacheDate:
                 break
             page = event[2].get('pagename', None)
-            page = page.decode(config.charset)
             if page:
                 hits[page] = hits.get(page, 0) + 1
                 changed = True