From d7e58c622ff3f75a5bcc39979db39b624cbe8389 Mon Sep 17 00:00:00 2001 From: n1rna Date: Sun, 20 Oct 2019 11:00:44 +0330 Subject: [PATCH] Change name of variable to --- tiingo/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiingo/api.py b/tiingo/api.py index 32b8be9..85cf58b 100644 --- a/tiingo/api.py +++ b/tiingo/api.py @@ -111,9 +111,9 @@ class TiingoClient(RestClient): if not len(assetTypes): return [row for row in reader] - t = set(assetTypes) + assetTypesSet = set(assetTypes) return [row for row in reader - if row.get('assetType') in t] + if row.get('assetType') in assetTypesSet] def list_stock_tickers(self): return self.list_tickers(['Stock'])