Commit 494fb477 authored by hackhard's avatar hackhard
Browse files

pipeline failed due to W0143

parent d25b9b0e
Pipeline #9931 failed with stage
in 1 minute and 13 seconds
......@@ -100,7 +100,7 @@ class Analyzer:
proxy_countries_html_data = []
for proxy in proxies:
# checks for the proxy id and proxy country with relay country
# Checks for the proxy id and proxy location with the same relay location
query_proxy = (
self.__db_session.query(Proxy).filter(
Proxy.id == proxy.proxy_id,
......@@ -110,9 +110,11 @@ class Analyzer:
# Checks for the fetch_completed table to hold off the html_data of that specific proxy
query_proxy_html = (
self.__db_session.query(FetchCompleted).filter(
# pylint: disable=W0143
FetchCompleted.proxy_id == query_proxy.id
)
).first()
# Insets the html_data obtained from the proxies of the same websites
proxy_countries_html_data.append(query_proxy_html.html_data)
# Loads JSON
......
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