fixed 板块更新

This commit is contained in:
fasiondog 2024-01-05 03:37:26 +08:00
parent 5c5fe1a708
commit 02de141ad2

View File

@ -44,7 +44,7 @@ class ImportBlockInfoTask:
for market in (MARKET.SH, MARKET.SZ, MARKET.BJ):
x = get_stk_code_name_list(market)
for v in x:
code_market_dict[v["code"]] = MARKET.SH
code_market_dict[v["code"]] = market
import_block(connect, code_market_dict, self.categorys)
except Exception as e:
hku_error(str(e))