1
0
Fork 0
nix-overlay/patches/bulk-downloader-for-reddit_recursion-limit.patch

19 lines
410 B
Diff

Subject: Raise recursion limit
---
bdfr/__main__.py | 2 ++
1 file changed, 2 insertions(+)
--- a/bdfr/__main__.py
+++ b/bdfr/__main__.py
@@ -15,6 +15,8 @@ from bdfr.downloader import RedditDownloader
logger = logging.getLogger()
+sys.setrecursionlimit(100_000)
+
_common_options = [
click.argument("directory", type=str),
click.option("--authenticate", is_flag=True, default=None),
--
2.42.0