From 0f96c51946774ed65ac6bcc91ef9578d162fda40 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 14 Mar 2022 09:02:02 -0400 Subject: [PATCH] [14] fix NoneType Error --- VERSION | 2 +- modules/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6ffda7fc..ecdaacb8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.1-develop13 +1.16.1-develop14 diff --git a/modules/config.py b/modules/config.py index b1037ae7..4289b148 100644 --- a/modules/config.py +++ b/modules/config.py @@ -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"]: