Skip to content

Commit

Permalink
Fixed issue with deleted episode file raising a 404 while trying to u…
Browse files Browse the repository at this point in the history
…pdate from Sonarr. #1676
  • Loading branch information
morpheus65535 committed Jan 13, 2022
1 parent 8ad4ec9 commit 8764ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/get_episodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def sync_one_episode(episode_id):
if not get_sonarr_info.is_legacy() and existing_episode and episode_data['hasFile']:
episode_data['episodeFile'] = \
get_episodesFiles_from_sonarr_api(url=url, apikey_sonarr=apikey_sonarr,
episode_file_id=existing_episode['episode_file_id'])
episode_file_id=episode_data['episodeFileId'])
episode = episodeParser(episode_data)
except Exception:
logging.debug('BAZARR cannot get episode returned by SignalR feed from Sonarr API.')
Expand Down

0 comments on commit 8764ac5

Please sign in to comment.