Skip to content

Commit 4a67d0f

Browse files
committed
modify grab_permission response
1 parent aebfea8 commit 4a67d0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tigeropen/quote/response/quote_grab_permission_response.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ def parse_response_content(self, response_content):
1818
if 'is_success' in response:
1919
self._is_success = response['is_success']
2020

21-
self.permissions = string_utils.camel_to_underline_obj(self.data)
21+
if self.data:
22+
self.permissions = string_utils.camel_to_underline_obj(self.data)

0 commit comments

Comments
 (0)