Update utils.py

This commit is contained in:
morpheus65535 2019-10-25 09:48:22 -04:00 committed by GitHub
parent 250db5d0f6
commit 5ec8f20ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ def get_sonarr_version():
try: try:
sonarr_version = requests.get(sv, timeout=60, verify=False).json()['version'] sonarr_version = requests.get(sv, timeout=60, verify=False).json()['version']
except Exception as e: except Exception as e:
logging.DEBUG('BAZARR cannot get Sonarr version') logging.debug('BAZARR cannot get Sonarr version')
return sonarr_version return sonarr_version
@ -119,6 +119,6 @@ def get_radarr_version():
try: try:
radarr_version = requests.get(rv, timeout=60, verify=False).json()['version'] radarr_version = requests.get(rv, timeout=60, verify=False).json()['version']
except Exception as e: except Exception as e:
logging.DEBUG('BAZARR cannot get Radarr version') logging.debug('BAZARR cannot get Radarr version')
return radarr_version return radarr_version