X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wrpylib.git/blobdiff_plain/2fec355f291aeac7e94a5dc228a83d528d32600a..8192142d7304ea4f09cbe0635ca2c46b97ad1882:/wrpylib/wrmwmarkup.py diff --git a/wrpylib/wrmwmarkup.py b/wrpylib/wrmwmarkup.py index b25ef63..715dbac 100644 --- a/wrpylib/wrmwmarkup.py +++ b/wrpylib/wrmwmarkup.py @@ -537,8 +537,7 @@ def create_wrmap(geojson): feature_xml.attrib = json_feature['properties'] del feature_xml.attrib['type'] - print last_json_feature.tag if last_json_feature is not None: last_json_feature.tail = '\n\n' - return xml.etree.ElementTree.tostring(wrmap_xml, encoding='utf-8') + return xml.etree.ElementTree.tostring(wrmap_xml, encoding='utf-8').decode('utf-8')