aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/objectify.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2018-04-28 16:18:10 +0300
committerFilipp Lepalaan <filipp@mac.com>2018-04-28 16:18:10 +0300
commit79bc69470d8d907cd0f8e4c71788576a31899cad (patch)
tree80c5f4c2bcf7059eb6df2b7a64cf8926dd030402 /gsxws/objectify.py
parenta936224499fa6f9aa8625d22558fa42d744faf0d (diff)
downloadpy-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.tar.gz
py-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.tar.bz2
py-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.zip
Better Python 2/3 support
Diffstat (limited to 'gsxws/objectify.py')
-rw-r--r--gsxws/objectify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py
index dfcae79..41eb4b3 100644
--- a/gsxws/objectify.py
+++ b/gsxws/objectify.py
@@ -160,7 +160,7 @@ def parse(root, response):
if isinstance(root, str) and os.path.exists(root):
root = objectify.parse(root, parser)
else:
- root = objectify.fromstring(root.encode(), parser)
+ root = objectify.fromstring(root, parser)
return root.find('*//%s' % response)