Skip to content

Commit 122269c

Browse files
committed
Fixed fstring error
1 parent 8fdf532 commit 122269c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yfinance/scrapers/quote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def _fetch_complementary(self, proxy):
701701
json_str = self._data.cache_get(url=url, proxy=proxy).text
702702
json_data = json.loads(json_str)
703703
if json_data["timeseries"]["error"] is not None:
704-
raise YFinanceException(f"Failed to parse json response from Yahoo Finance: " + json_data["error"])
704+
raise YFinanceException("Failed to parse json response from Yahoo Finance: " + json_data["error"])
705705
for k in keys:
706706
keydict = json_data["timeseries"]["result"][0]
707707
if k in keydict:

0 commit comments

Comments
 (0)