Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 27, 2022
1 parent 8a1e033 commit c6ff2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions qiniu/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion qiniu/services/cdn/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c6ff2d0

Please sign in to comment.