Skip to content

Commit

Permalink
[build] Regex formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 9, 2023
1 parent 36b76ff commit 3f34cbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3f34cbd

Please sign in to comment.