Skip to content

Commit d8dc917

Browse files
author
derwentx
committed
fix bug in postmortem
1 parent e2b82ff commit d8dc917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wordpress/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def request_post_mortem(self, response=None):
9090

9191
if 'code' in response_json or 'message' in response_json:
9292
reason = " - ".join([
93-
response_json.get(key) for key in ['code', 'message'] \
93+
str(response_json.get(key)) for key in ['code', 'message', 'data'] \
9494
if key in response_json
9595
])
9696

0 commit comments

Comments
 (0)