From a0dbf2f108e0f94929a4e9768c9aa7927b1e91cf Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Tue, 3 Sep 2024 16:15:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20remove=20unused=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesaver/lib/base/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pagesaver/lib/base/client.py b/pagesaver/lib/base/client.py index 757b01b..4af1847 100644 --- a/pagesaver/lib/base/client.py +++ b/pagesaver/lib/base/client.py @@ -74,7 +74,6 @@ def do_request(self, method, url, headers=None, query=None, body=None, **kwargs) ) def parse_response(self, response: requests.Response): - response.raise_for_status if response.status_code != requests.codes.ok: raise requests.HTTPError( f"{response.status_code} {response.reason} for {response.url} {response.text}"