mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-22 16:55:35 +02:00
Bug Fixes & Automated Testing - remove_failed_imports.py #patch
This commit is contained in:
@@ -56,8 +56,7 @@ QBITTORRENT_PASSWORD = get_config_value('QBITTORRENT_PASSWORD',
|
||||
|
||||
########################################################################################################################
|
||||
########### Validate settings
|
||||
|
||||
if not (RADARR_URL or SONARR_URL or LIDARR_URL or READARR_URL or WHISPARR_URL):
|
||||
if not (IS_IN_PYTEST or RADARR_URL or SONARR_URL or LIDARR_URL or READARR_URL or WHISPARR_URL):
|
||||
print(f'[ ERROR ]: No Radarr/Sonarr/Lidarr/Readarr/Whisparr URLs specified (nothing to monitor)')
|
||||
exit()
|
||||
|
||||
|
||||
@@ -2,3 +2,4 @@ import os
|
||||
IS_IN_DOCKER = os.environ.get('IS_IN_DOCKER')
|
||||
IMAGE_TAG = os.environ.get('IMAGE_TAG', 'Local')
|
||||
SHORT_COMMIT_ID = os.environ.get('SHORT_COMMIT_ID', 'n/a')
|
||||
IS_IN_PYTEST = os.environ.get('IS_IN_PYTEST')
|
||||
Reference in New Issue
Block a user