From 83816cfa64986438fbabb146dffaf838f97e9e0f Mon Sep 17 00:00:00 2001 From: evilhero Date: Mon, 16 Jan 2017 13:31:34 -0500 Subject: [PATCH] FIX:(#1541) Quick patch for the nzbhydra local adhere to search wait times previous fix --- mylar/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/search.py b/mylar/search.py index e86abb22..bdd02afb 100755 --- a/mylar/search.py +++ b/mylar/search.py @@ -615,7 +615,7 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa else: hnc = host_newznab_fix - if any([hnc[:3] == '10.', hnc[:4] == '172.', hnc[:4] == '192.', hnc.startswith('localhost'), newznab_local]): + if any([hnc[:3] == '10.', hnc[:4] == '172.', hnc[:4] == '192.', hnc.startswith('localhost'), newznab_local is True]) and newznab_local != False: logger.info('local domain bypass for ' + name_newznab + ' is active.') localbypass = True