Closed dpriskorn closed 3 years ago
https://github.com/csisc/OpenCitations-Bot/blob/74d5983423ec8a0414f3289c97743e205bd685d8/OCtoWikidata.py#L44 In the next if you can have if wid1 is None:
if wid1 is None:
wid1 is set so that it can either be a string or an empty string. All conditions consider this.
https://github.com/csisc/OpenCitations-Bot/blob/74d5983423ec8a0414f3289c97743e205bd685d8/OCtoWikidata.py#L44 In the next if you can have
if wid1 is None: