Typo error: replace Sonarr by Radarr

pull/118/merge
morpheus65535 6 years ago committed by GitHub
parent 93ffd4b60f
commit 97b8b8257e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,11 +119,11 @@ def get_profile_list():
try: try:
profiles_json = requests.get(url_radarr_api_movies, timeout=15) profiles_json = requests.get(url_radarr_api_movies, timeout=15)
except requests.exceptions.ConnectionError as errc: except requests.exceptions.ConnectionError as errc:
logging.exception("Error trying to get profiles from Sonarr. Connection Error.") logging.exception("Error trying to get profiles from Radarr. Connection Error.")
except requests.exceptions.Timeout as errt: except requests.exceptions.Timeout as errt:
logging.exception("Error trying to get profiles from Sonarr. Timeout Error.") logging.exception("Error trying to get profiles from Radarr. Timeout Error.")
except requests.exceptions.RequestException as err: except requests.exceptions.RequestException as err:
logging.exception("Error trying to get profiles from Sonarr.") logging.exception("Error trying to get profiles from Radarr.")
else: else:
# Parsing data returned from radarr # Parsing data returned from radarr
for profile in profiles_json.json(): for profile in profiles_json.json():

Loading…
Cancel
Save