Skip to content

Commit

Permalink
fix: '' in securities bug
Browse files Browse the repository at this point in the history
  • Loading branch information
redstreet committed Oct 2, 2024
1 parent fe279d0 commit f1e224f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def get_ticker_info_from_id(self, security_id):
except IndexError:
print(f"Error: fund info not found for {security_id}", file=sys.stderr)
securities = self.get_security_list()
securities.remove('')
if '' in securities:
securities.remove('')
securities_missing = list(securities)
for s in securities:
for k in self.funds_db:
Expand Down

0 comments on commit f1e224f

Please sign in to comment.