diff --git a/resources/lib/library_sync/time.py b/resources/lib/library_sync/time.py index 55ccb7b2..0a237234 100644 --- a/resources/lib/library_sync/time.py +++ b/resources/lib/library_sync/time.py @@ -23,7 +23,7 @@ def sync_pms_time(): # Get all Plex libraries sections = PF.get_plex_sections() - if not sections: + if sections is None: LOG.error("Error download PMS views, abort sync_pms_time") return False