csisc / OpenCitations-Bot

A bot to add citation data from OpenCitations to Wikidata
8 stars 2 forks source link

I recommend swithing to None here #22

Closed dpriskorn closed 3 years ago

dpriskorn commented 3 years ago

https://github.com/csisc/OpenCitations-Bot/blob/91f3a7d47bc6896bfc6d7bb8392b7a197aef9b41/OCtoWikidata.py#L117 the next if can then be ´if sourcewikidataid:´

csisc commented 3 years ago

Empty String is working. I will keep it to prevent type matters