Recognize blank value for restrict_sr in search links
This commit is contained in:
parent
82e5b2ffa1
commit
c9aaf7ee4b
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,8 @@ def LinkDesigner(LINK):
|
|||
if "restrict_sr" in attributes["search"]:
|
||||
|
||||
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:
|
||||
MODE["subreddit"] = attributes["subreddit"]
|
||||
|
|
Loading…
Reference in a new issue