From 9dc6069e060d8baddd2c27b7e735ff29a91fa734 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 29 Dec 2019 08:00:05 +0000 Subject: add missing closing paren to bitbot's User Agent --- src/utils/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/http.py b/src/utils/http.py index 8c3fe015..11d63797 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 -- cgit v1.3.1-10-gc9f91