From 8e063a116da1875d50845cb95e0b5ec7b158b4b6 Mon Sep 17 00:00:00 2001 From: STACIA <69411527+staciax@users.noreply.github.com> Date: Fri, 5 Aug 2022 00:22:48 +0700 Subject: [PATCH] Update http.py --- enkanetwork/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enkanetwork/http.py b/enkanetwork/http.py index 258d5c4..b2f149a 100644 --- a/enkanetwork/http.py +++ b/enkanetwork/http.py @@ -76,7 +76,7 @@ class HTTPClient: uid = route.uid self.__headers.clear() - if not self.__agent != '': + if self.__agent != '': self.__headers['User-Agent'] = self.__agent kwargs['headers'] = {**utils.get_default_header(), **self.__headers}