Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c6ff2d0

Browse files
author
root@xvc.bid
committedJun 27, 2022
fix
1 parent 8a1e033 commit c6ff2d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎qiniu/http.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def _get(url, params, auth, headers=None):
105105
timeout=config.get_default('connection_timeout'),
106106
headers=get_headers)
107107
except Exception as e:
108+
print(e)
108109
return None, ResponseInfo(None, e)
109110
return __return_wrapper(r)
110111

‎qiniu/services/cdn/manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def domain_list(self, limit=10, marker=None):
320320
p = dict(limit=limit)
321321
if marker:
322322
p['marker']=marker
323-
return self.__get("domain", p)[0]
323+
return self.__get(f"{self.server}/domain", p)[0]
324324

325325

326326
def __post(self, url, data=None):

0 commit comments

Comments
 (0)
Please sign in to comment.