diff --git a/wikiteam3/dumpgenerator/dump/xmldump/xml_header.py b/wikiteam3/dumpgenerator/dump/xmldump/xml_header.py index e95129a2..2928a484 100644 --- a/wikiteam3/dumpgenerator/dump/xmldump/xml_header.py +++ b/wikiteam3/dumpgenerator/dump/xmldump/xml_header.py @@ -41,7 +41,7 @@ def getXMLHeader(config: Config, session: requests.Session) -> Tuple[str, Config f"{config.api}?action=query&export=1&exportnowrap=1&titles={randomtitle}", timeout=10, ) - xml = str(r.text) + xml = r.text # Again try without exportnowrap if not re.match(r"\s*