Fix typo
authorJakob <jakob@jcornell.net>
Tue, 3 Dec 2019 05:51:19 +0000 (23:51 -0600)
committerJakob <jakob@jcornell.net>
Tue, 3 Dec 2019 05:51:19 +0000 (23:51 -0600)
auth.py

diff --git a/auth.py b/auth.py
index fcd43e61457604b45b3e3a1ae35ec6f202d94159..eecafd70879a47f7bc0582e7089718c962ff24ce 100644 (file)
--- a/auth.py
+++ b/auth.py
@@ -304,7 +304,7 @@ class CookieAuthHandler(urllib.request.HTTPCookieProcessor):
                handlers = [
                        urllib.request.HTTPHandler(),
                        urllib.request.HTTPSHandler(),
-                       urllib.request.HTTPDefaultErrorHandler,
+                       urllib.request.HTTPDefaultErrorHandler(),
                        self,
                ]
                for h in handlers: