Skip to content

Commit 79c645c

Browse files
author
Richard Jones
committed
*cough*
1 parent a23ad59 commit 79c645c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

roundup/cgi/templating.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,8 +2213,7 @@ def _post_init(self):
22132213
# dispname should be encoded to the web interface's charset,
22142214
# but the web interface rendering will be expecting a unicode
22152215
# string
2216-
charset = self.client.charset
2217-
self.dispname = value.decode('utf8')
2216+
self.dispname = value.decode(self.client.charset)
22182217

22192218
def updateFromURL(self, url):
22202219
''' Parse the URL for query args, and update my attributes using the

0 commit comments

Comments
 (0)