summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpclib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r--Lib/xmlrpclib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 069ebcc..6fb6c68 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -388,6 +388,7 @@ class DateTime:
return "<DateTime %s at %x>" % (repr(self.value), id(self))
def decode(self, data):
+ data = str(data)
self.value = string.strip(data)
def encode(self, out):