mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2025-10-29 17:40:15 +00:00
Recognize blank value for restrict_sr in search links
This commit is contained in:
@@ -144,7 +144,8 @@ def LinkDesigner(LINK):
|
|||||||
if "restrict_sr" in attributes["search"]:
|
if "restrict_sr" in attributes["search"]:
|
||||||
|
|
||||||
if not (attributes["search"]["restrict_sr"] == 0 or \
|
if not (attributes["search"]["restrict_sr"] == 0 or \
|
||||||
attributes["search"]["restrict_sr"] == "off"):
|
attributes["search"]["restrict_sr"] == "off" or \
|
||||||
|
attributes["search"]["restrict_sr"] == ""):
|
||||||
|
|
||||||
if "subreddit" in attributes:
|
if "subreddit" in attributes:
|
||||||
MODE["subreddit"] = attributes["subreddit"]
|
MODE["subreddit"] = attributes["subreddit"]
|
||||||
|
|||||||
Reference in New Issue
Block a user