From c0ef24a28e1aec6e0d8dcff319257072e61bba96 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Wed, 24 Apr 2024 12:12:09 +0200 Subject: [PATCH] fix: actually used correct session --- music_kraken/connection/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_kraken/connection/connection.py b/music_kraken/connection/connection.py index 1ad7e77..407e21f 100644 --- a/music_kraken/connection/connection.py +++ b/music_kraken/connection/connection.py @@ -208,7 +208,7 @@ class Connection: pass self.lock = True - r: requests.Response = requests.request(method=method, url=url, timeout=timeout, headers=headers, **kwargs) + r: requests.Response = self.session.request(method=method, url=url, timeout=timeout, headers=headers, **kwargs) if r.status_code in accepted_response_codes: if not disable_cache: