From 1ca87bbef9cf91b4e198e0ee45b4f2531f2ad6fe Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 29 Dec 2019 08:00:05 +0000 Subject: [PATCH] add missing closing paren to bitbot's User Agent --- src/utils/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/http.py b/src/utils/http.py index 6fe6be53..8b43a753 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -28,7 +28,7 @@ def url_sanitise(url: str): url = url[:-1] return url -USERAGENT = "Mozilla/5.0 (compatible; BitBot/%s; +%s" % ( +USERAGENT = "Mozilla/5.0 (compatible; BitBot/%s; +%s)" % ( IRCBot.VERSION, IRCBot.URL) RESPONSE_MAX = (1024*1024)*100