From 949824640745dba4d90c9a59eb169effb2f84fe1 Mon Sep 17 00:00:00 2001 From: Tom Niget Date: Wed, 8 Nov 2023 16:55:31 +0100 Subject: [PATCH] style: flake8 --- Contents/Code/plex_api_helper.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Contents/Code/plex_api_helper.py b/Contents/Code/plex_api_helper.py index 567322f7..7c3d599c 100644 --- a/Contents/Code/plex_api_helper.py +++ b/Contents/Code/plex_api_helper.py @@ -205,8 +205,8 @@ def update_plex_item(rating_key): Log.Exception('{}: Error processing youtube url: {}'.format(item.ratingKey, e)) else: if theme_url: - add_media(item=item, media_type='themes', media_url_id=yt_video_url, media_url=theme_url) - + add_media(item=item, media_type='themes', + media_url_id=yt_video_url, media_url=theme_url) def add_media(item, media_type, media_url_id, media_file=None, media_url=None): @@ -242,7 +242,6 @@ def add_media(item, media_type, media_url_id, media_file=None, media_url=None): """ uploaded = False - themerr_data = general_helper.get_themerr_json_data(item=item) if media_file or media_url: