Skip to content

Commit 42b6bb3

Browse files
committed
Fixed day test when symbol not exists.
1 parent dfa7dba commit 42b6bb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

datafeed/datastore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def get(self, symbol, length):
491491
try:
492492
data = self._get_year_data(symbol, year)
493493
except KeyError:
494+
self.handle[symbol] # test symbol existence
494495
data = []
495496

496497
while True:

0 commit comments

Comments
 (0)