mirror of https://github.com/WikiTeam/wikiteam
More robust XML header fetch for getXMLHeader()
Avoid UnboundLocalError: local variable 'xml' referenced before assignment If the page exists, its XML export is returned by the API; otherwise only the header that we were looking for. Fixes https://github.com/WikiTeam/wikiteam/issues/355pull/359/head
parent
0b37b39923
commit
1645c1d832
Loading…
Reference in New Issue