From 05d9b3d322de3aa8097295e75b88a6aed4f05f80 Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Thu, 25 Apr 2024 18:56:05 +0100 Subject: [PATCH] Fix typo breaking 'info' caching --- yfinance_cache/yfc_ticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yfinance_cache/yfc_ticker.py b/yfinance_cache/yfc_ticker.py index 2d059c3..5ae6084 100644 --- a/yfinance_cache/yfc_ticker.py +++ b/yfinance_cache/yfc_ticker.py @@ -538,7 +538,7 @@ def get_info(self, max_age=None): self._info = i if md is None: md = {} - mf['LastCheck'] = i['FetchDate'] + md['LastCheck'] = i['FetchDate'] yfcm.StoreCacheDatum(self.ticker, "info", self._info, metadata=md) exchange, tz_name = self._getExchangeAndTz()