From 38abb459e880696ad5dc4e1185156a0726dc6d03 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Sun, 6 Sep 2020 12:52:22 +0100 Subject: [PATCH] updates --- komrade/backend/mazes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komrade/backend/mazes.py b/komrade/backend/mazes.py index b65d70c..28a9eab 100644 --- a/komrade/backend/mazes.py +++ b/komrade/backend/mazes.py @@ -22,7 +22,7 @@ async def tor_request_in_python_async(url): adapter = TorHttpAdapter(guard, 3, retries=RETRIES) async with requests_async.Session() as s: - await s + # await s s.headers.update({'User-Agent': 'Mozilla/5.0'}) s.mount('http://', adapter) s.mount('https://', adapter)