Skip to content

Commit b37e1f6

Browse files
committed
fix encoding in handle_xmlrpc
1 parent 9c5a0d8 commit b37e1f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/cgi/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ def main(self):
439439
def handle_xmlrpc(self):
440440
if self.env.get('CONTENT_TYPE') != 'text/xml':
441441
self.write(b"This is the endpoint of Roundup <a href='" +
442-
"http://www.roundup-tracker.org/docs/xmlrpc.html'>" +
443-
"XML-RPC interface</a>.")
442+
b"http://www.roundup-tracker.org/docs/xmlrpc.html'>" +
443+
b"XML-RPC interface</a>.")
444444
return
445445

446446
# Pull the raw XML out of the form. The "value" attribute

0 commit comments

Comments
 (0)