From c6ff2d08f781d9557da7363ce6e6986355c7f803 Mon Sep 17 00:00:00 2001 From: "root@xvc.bid" Date: Mon, 27 Jun 2022 18:13:17 +0800 Subject: [PATCH] fix --- qiniu/http.py | 1 + qiniu/services/cdn/manager.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qiniu/http.py b/qiniu/http.py index 6d239808..f55b80e1 100644 --- a/qiniu/http.py +++ b/qiniu/http.py @@ -105,6 +105,7 @@ def _get(url, params, auth, headers=None): timeout=config.get_default('connection_timeout'), headers=get_headers) except Exception as e: + print(e) return None, ResponseInfo(None, e) return __return_wrapper(r) diff --git a/qiniu/services/cdn/manager.py b/qiniu/services/cdn/manager.py index a49cc7ed..bc506013 100644 --- a/qiniu/services/cdn/manager.py +++ b/qiniu/services/cdn/manager.py @@ -320,7 +320,7 @@ def domain_list(self, limit=10, marker=None): p = dict(limit=limit) if marker: p['marker']=marker - return self.__get("domain", p)[0] + return self.__get(f"{self.server}/domain", p)[0] def __post(self, url, data=None):