mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-03 02:50:58 +08:00
fix bug of region
This commit is contained in:
@@ -44,7 +44,7 @@ def init(default_conf="client", **kwargs):
|
||||
if k not in C:
|
||||
LOG.warning("Unrecognized config %s" % k)
|
||||
|
||||
C.set_region(kwargs.get('region', REG_CN))
|
||||
C.set_region(kwargs.get('region', C['region'] if 'region' in C else REG_CN ))
|
||||
C.resolve_path()
|
||||
|
||||
if not (C["expression_cache"] is None and C["dataset_cache"] is None):
|
||||
|
||||
Reference in New Issue
Block a user