From a8f3d43c828c4291b126b3e81ea6d010c2d117f2 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 10 Sep 2017 20:27:03 +0200 Subject: [PATCH] Fix variable name... --- handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.py b/handler.py index 8e00e70..59620f4 100755 --- a/handler.py +++ b/handler.py @@ -48,7 +48,7 @@ def pageHandler(driver): session = requests.Session() kekse = driver.get_cookies() - s.headers.update({"User-Agent": useragent}) + session.headers.update({"User-Agent": useragent}) for keks in kekse: session.cookies.set(keks["name"], keks["value"])