diff --git a/yahoofinancials/cache.py b/yahoofinancials/cache.py index 9d99f2e..4d25542 100644 --- a/yahoofinancials/cache.py +++ b/yahoofinancials/cache.py @@ -358,6 +358,7 @@ def initialise(self): except _peewee.OperationalError: time.sleep(random.randint(3, 15)) continue + self.initialised = 0 # failure def lookup(self, strategy):