Skip to content

Commit a38ec28

Browse files
committed
Fix log for Client.purchase_convertible_bonds
1 parent 0a40510 commit a38ec28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shipane_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def purchase_convertible_bonds(self, client=None, timeout=None):
180180
self.buy(client, timeout, **order)
181181
except Exception as e:
182182
self._logger.error(
183-
'客户端[{}]申购转债[{}({})]失败\n{}'.format((client or self._client), row['name'], row['code'], e))
183+
'客户端[{}]申购转债[{}({})]失败\n{}'.format((client or self._client), row['bname'], row['xcode'], e))
184184

185185
def create_adjustment(self, client=None, request_json=None, timeout=None):
186186
request = Request('POST', self.__create_url(client, 'adjustments'), json=request_json)

0 commit comments

Comments
 (0)