Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
erdewit committed Oct 17, 2023
1 parent 1641952 commit d31241f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ib_insync/ib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,7 @@ async def qualifyContractsAsync(self, *contracts: Contract) \
f'Ambiguous contract: {contract}, '
f'possibles are {possibles}')
else:
c = detailsList[0].contract
if contract.exchange == 'SMART':
# overwriting 'SMART' exchange can create invalid contract
c.exchange = contract.exchange
Expand Down

0 comments on commit d31241f

Please sign in to comment.