reluce/szurubooru-toolkit

Fix SauceNAO limit reached

reluce opened this issue · 1 comments

When running the script auto-tagger (or any using it) and the SauceNAO limit has been reached, the script handles it (probably) correctly if the limit is being hit during the run. If the script starts another run, it won't detect that the limit has been reached and runs into a few exceptions.

If limit is reached, pysaucenao return the String Limit reached which we can be used to handle the correct continuation of the script.

Fixed in f228946