missing path
This commit is contained in:
+4
-4
@@ -12,10 +12,10 @@ class PathMapper:
|
||||
|
||||
def __init__(self, config):
|
||||
"""Initialize path mapper with configuration"""
|
||||
self.radarr_roots = [path.strip() for path in config.radarr_root_folders.split(',') if path.strip()]
|
||||
self.sonarr_roots = [path.strip() for path in config.sonarr_root_folders.split(',') if path.strip()]
|
||||
self.movie_paths = [path.strip() for path in config.movie_paths.split(',') if path.strip()]
|
||||
self.tv_paths = [path.strip() for path in config.tv_paths.split(',') if path.strip()]
|
||||
self.radarr_roots = [path.strip() for path in config.RADARR_ROOT_FOLDERS.split(',') if path.strip()]
|
||||
self.sonarr_roots = [path.strip() for path in config.SONARR_ROOT_FOLDERS.split(',') if path.strip()]
|
||||
self.movie_paths = [path.strip() for path in config.MOVIE_PATHS.split(',') if path.strip()]
|
||||
self.tv_paths = [path.strip() for path in config.TV_PATHS.split(',') if path.strip()]
|
||||
|
||||
# Check if path debugging is enabled
|
||||
self.path_debug = os.getenv('PATH_DEBUG', 'false').lower() == 'true'
|
||||
|
||||
Reference in New Issue
Block a user