mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 02:48:57 +08:00
fixed 板块更新
This commit is contained in:
parent
5c5fe1a708
commit
02de141ad2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user