century-arcade / xd

a futureproof crossword corpus toolset
MIT License
221 stars 26 forks source link

Handle when all crosswords for a publication aren't available #59

Closed anjakefala closed 2 years ago

anjakefala commented 2 years ago

In cases where it is empty, max() will result in an Exception, since it expects a sequence containing at least one item.

Without this, if an entire publication fails to download any crosswords, the crosswords will fail to download for all of the publications after it.