Skip to content

Commit 4e9e7ed

Browse files
author
rob
committed
still not fixed
1 parent 10b6097 commit 4e9e7ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sysproduction/update_historical_prices.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ def __init__(
189189
self._dict_of_instrument_codes_by_timezone = (
190190
dict_of_instrument_codes_by_timezone
191191
)
192-
self._init_progress_dict()
192+
region_list = list(download_by_zone.keys())
193+
self._init_progress_dict(region_list)
193194

194-
def _init_progress_dict(self):
195-
region_list = self.list_of_regions
195+
def _init_progress_dict(self, region_list: List[str]):
196196
progress_dict = dict([(region, False) for region in region_list])
197197
self._progress_dict = progress_dict
198198

0 commit comments

Comments
 (0)