DobyTang / LazyLibrarian

This project isn't finished yet. Goal is to create a SickBeard, CouchPotato, Headphones-like application for ebooks. Headphones is used as a base, so there are still a lot of references to it.
728 stars 72 forks source link

check Requester and AudioRequester for NULL #1616

Closed jcal22 closed 5 years ago

jcal22 commented 5 years ago

My bad. Didn't check to make sure Requester and AudioRequester were not None.

philborman commented 5 years ago

Well caught, not sure why an empty database text field defaults to null, empty string seems more logical bit I've been bitten by that one before. I usually just do if data['Requester']: which catches None and empty string