Commit d197efb2 authored by hackhard's avatar hackhard
Browse files

Unused variable was removed

parent 3bcdbe1f
Pipeline #9305 passed with stage
in 2 minutes and 27 seconds
......@@ -382,7 +382,9 @@ class Analyzer:
if _ in self.soup_t and _ not in self.soup_n:
res = 1
if res == 0:
self.__logger.info("Survived Checklist but still doubt (Further modules might help)")
self.__logger.info(
"Survived Checklist but still doubt (Further modules might help)"
)
self.dom_analyze_value = 2
else:
self.__logger.info("Tor Blocked : checklist!! ")
......@@ -458,7 +460,9 @@ class Analyzer:
elif int(first_status_t) < 300 and int(first_status_nt) > 399:
# When tor isn't blocked and non-tor is blocked
self.__logger.info("Tor is not blocked, rather non-tor browser is blocked")
self.__logger.info(
"Tor is not blocked, rather non-tor browser is blocked"
)
self.status_check_value = 2
else:
if int(first_status_t) > 299 and int(first_status_t) < 400:
......@@ -472,5 +476,7 @@ class Analyzer:
self.dom_analyze(
tor_html_data, non_tor_html_data, proxy_countries_html_code
)
except TypeError as e:
self.__logger.debug("Check for the HARExport. Might have actually returned nothing")
except TypeError:
self.__logger.debug(
"Check for the HARExport. Might have actually returned nothing"
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment