Skip to content

Commit 75105ec

Browse files
committed
removes unused arg from XML exporter
1 parent a74eb49 commit 75105ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uk_covid19/api_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def get_xml(self, save_as=None) -> XMLElement:
367367

368368
from xml.etree.ElementTree import tostring
369369

370-
data = tostring(resp, encoding='unicode', method='xml', xml_declaration=True)
370+
data = tostring(resp, encoding='unicode', method='xml')
371371
save_data(data, save_as, "xml")
372372

373373
return resp

0 commit comments

Comments
 (0)