diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 8038bd97..3056e54f 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -138,6 +138,9 @@ def __init__( self.file_extension_allowlist = CONFIG.get( f"{name}.Torrent.FileExtensionAllowlist", fallback=[] ) + self.file_extension_allowlist = [ + rf"\{ext}" if ext[:1] != "\\" else ext for ext in self.file_extension_allowlist + ] self.auto_delete = CONFIG.get(f"{name}.Torrent.AutoDelete", fallback=False) self.remove_dead_trackers = CONFIG.get(