diff options
author | morpheus65535 <[email protected]> | 2023-10-26 06:31:00 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2023-10-26 06:31:00 -0400 |
commit | 6925a97f2d45cc1edbd0db5e001ba26162ad04ae (patch) | |
tree | 545a5505ad8a5d403436d74179f654efe8c140e3 | |
parent | 0d882b3d6eac4846c2c26653f9cb65cfa50b243c (diff) | |
download | bazarr-6925a97f2d45cc1edbd0db5e001ba26162ad04ae.tar.gz bazarr-6925a97f2d45cc1edbd0db5e001ba26162ad04ae.zip |
Fixed an error in previous commit that would prevent episodes syncing.v1.3.2-beta.8
-rw-r--r-- | bazarr/sonarr/sync/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/sonarr/sync/utils.py b/bazarr/sonarr/sync/utils.py index 2da337bd1..d90bcd1f7 100644 --- a/bazarr/sonarr/sync/utils.py +++ b/bazarr/sonarr/sync/utils.py @@ -124,9 +124,9 @@ def get_episodes_from_sonarr_api(apikey_sonarr, series_id=None, episode_id=None) def get_episodesFiles_from_sonarr_api(apikey_sonarr, series_id=None, episode_file_id=None): if series_id: - url_sonarr_api_episodeFiles = f"{url_api_sonarr}episodeFile?seriesId={series_id}&apikey={apikey_sonarr}" + url_sonarr_api_episodeFiles = f"{url_api_sonarr()}episodeFile?seriesId={series_id}&apikey={apikey_sonarr}" elif episode_file_id: - url_sonarr_api_episodeFiles = f"{url_api_sonarr}episodeFile/{episode_file_id}?apikey={apikey_sonarr}" + url_sonarr_api_episodeFiles = f"{url_api_sonarr()}episodeFile/{episode_file_id}?apikey={apikey_sonarr}" else: return |