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

Commit

Permalink
Fix stricter mypy check.
Browse files Browse the repository at this point in the history
  • Loading branch information
erdewit committed Dec 1, 2023
1 parent 46976b2 commit 8f94f14
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 @@ -1857,6 +1857,7 @@ async def qualifyContractsAsync(self, *contracts: Contract) \
f'possibles are {possibles}')
else:
c = detailsList[0].contract
assert c
if contract.exchange == 'SMART':
# overwriting 'SMART' exchange can create invalid contract
c.exchange = contract.exchange
Expand Down

0 comments on commit 8f94f14

Please sign in to comment.