Skip to content

Commit 1f9e8f5

Browse files
committed
Try to fix mysql crash on close by rolling back mysqlclient.
The version was incremented from 1.3.13 to 1.3.14. Can't move forward to 1.4 series since 1.4 series drops support for python 3.4.
1 parent c111f2d commit 1f9e8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def dispatch(self, method, uri, input):
14501450
output = RoundupJSONEncoder(indent=indent).encode(output)
14511451
elif data_type.lower() == "xml" and dicttoxml:
14521452
self.client.setHeader("Content-Type", "application/xml")
1453-
output = dicttoxml(output, root=False)
1453+
output = b2s(dicttoxml(output, root=False))
14541454
else:
14551455
self.client.response_code = 406
14561456
output = "Content type is not accepted by client"

0 commit comments

Comments
 (0)