Skip to content

Commit e00bede

Browse files
author
fengyikai
committed
1.5.8.77
1 parent af67b51 commit e00bede

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ksyun/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515

1616

17-
__version__ = '1.5.8.76'
17+
__version__ = '1.5.8.77'

ksyun/common/abstract_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def call_json(self, action, params):
305305
options = {'IsPostJson': True}
306306
body = self.call(action, params, options)
307307
response = json.loads(body)
308-
if "Error" not in response:
308+
if "Error" not in response or not response["Error"]:
309309
return body
310310
else:
311311
code = response["Error"]["Code"]

0 commit comments

Comments
 (0)