diff --git a/resources/lib/library_sync/sections.py b/resources/lib/library_sync/sections.py index 9fa67d5e..391aeb31 100644 --- a/resources/lib/library_sync/sections.py +++ b/resources/lib/library_sync/sections.py @@ -109,6 +109,8 @@ class Section(object): Sections compare equal if their section_id, name and plex_type (first prio) OR section_type (if there is no plex_type is set) compare equal """ + if not isinstance(section, Section): + return False return (self.section_id == section.section_id and self.name == section.name and (self.plex_type == section.plex_type if self.plex_type else