summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r--cherrypy/lib/encoding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py
index 9d8e9f10..54783646 100644
--- a/cherrypy/lib/encoding.py
+++ b/cherrypy/lib/encoding.py
@@ -171,13 +171,13 @@ class ResponseEncoder:
# Matches any charset. Try our default.
if self.debug:
cherrypy.log('Attempting default encoding due '
- 'to %s' % element, 'TOOLS.ENCODE')
+ 'to %r' % element, 'TOOLS.ENCODE')
if encoder(self.default_encoding):
return self.default_encoding
else:
encoding = element.value
if self.debug:
- cherrypy.log('Attempting encoding %s (qvalue >'
+ cherrypy.log('Attempting encoding %r (qvalue >'
'0)' % element, 'TOOLS.ENCODE')
if encoder(encoding):
return encoding