diff --git a/src/parser.py b/src/parser.py index 0442224..007d4d8 100644 --- a/src/parser.py +++ b/src/parser.py @@ -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"]