Skip to content

Commit

Permalink
Merge pull request ranaroussi#2099 from DamienDuv/bugfix-get-by-isin
Browse files Browse the repository at this point in the history
fixed a bug throwing an error when trying to get a ticker from certain isin
  • Loading branch information
ValueRaider authored Nov 12, 2024
2 parents c012cea + 272b6f6 commit c535c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yfinance/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def get_all_by_isin(isin, proxy=None, session=None):
'ticker': {
'symbol': ticker['symbol'],
'shortname': ticker['shortname'],
'longname': ticker['longname'],
'longname': ticker.get('longname',''),
'type': ticker['quoteType'],
'exchange': ticker['exchDisp'],
},
Expand Down

0 comments on commit c535c44

Please sign in to comment.