mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-29 18:39:10 +08:00
remove print
This commit is contained in:
parent
b297a3d7af
commit
038b3bd423
@ -497,7 +497,6 @@ class HubManager(metaclass=SingletonType):
|
||||
abs_path = os.path.abspath(filename) # 当前文件的绝对路径
|
||||
path_parts = pathlib.Path(abs_path).parts
|
||||
local_base = path_parts[-4] if path_parts[-3] in ('pf', 'sys', 'ind', 'other') else path_parts[-5]
|
||||
print(path_parts)
|
||||
hub_model = self._session.query(HubModel.name).filter_by(local_base=local_base).first()
|
||||
checkif(hub_model is None, local_base, HubNotFoundError)
|
||||
return hub_model.name
|
||||
|
Loading…
Reference in New Issue
Block a user