[14] fix NoneType Error

This commit is contained in:
meisnate12 2022-03-14 09:02:02 -04:00
parent 569826087d
commit 0f96c51946
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.16.1-develop13
1.16.1-develop14

View file

@ -792,7 +792,7 @@ class ConfigFile:
for mass_key in ["mass_genre_update", "mass_audience_rating_update", "mass_critic_rating_update", "mass_content_rating_update", "mass_originally_available_update"]:
if params[mass_key] == "omdb" and self.OMDb is None:
error_check(mass_key, "OMDb")
if params[mass_key].startswith("mdb") and not self.Mdblist.has_key:
if params[mass_key] and params[mass_key].startswith("mdb") and not self.Mdblist.has_key:
error_check(mass_key, "MdbList API")
if self.Trakt is None and params["mass_trakt_rating_update"]: