Use elif instead else if
Less deeper nesting of code
@@ -278,8 +278,7 @@ def watchlist_sync_item(self, m: Media, dry_run=False):
# - "The Vortex": https://trakt.tv/movies/the-vortex-2012
# - "Big Bad Bugs": https://app.plex.tv/desktop/#!/provider/tv.plex.provider.vod/details?key=%2Flibrary%2Fmetadata%2F60185c5891c237002b37653d
trakt_wl.pop(m.trakt.trakt)
- else:
- if m.trakt.trakt in trakt_wl:
+ elif m.trakt.trakt in trakt_wl:
if self.config.update_plex_wl:
logger.info(f"Adding '{m.trakt.title}' to Plex watchlist")
if not dry_run:
