Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b938202

Browse files
committedMar 4, 2025·
docs
1 parent d450fd6 commit b938202

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed
 

‎src/zvt/__init__.py

+11-10
Original file line numberDiff line numberDiff line change
@@ -232,18 +232,19 @@ def old_db_to_provider_dir(data_path):
232232

233233
# register to meta
234234
import zvt.contract as zvt_contract
235-
import zvt.recorders as zvt_recorders
236-
import zvt.factors as zvt_factors
237235

238-
import platform
236+
# import zvt.recorders as zvt_recorders
237+
import zvt.factors as zvt_factors
239238

240-
if platform.system() == "Windows":
241-
try:
242-
import zvt.recorders.qmt as qmt_recorder
243-
except Exception as e:
244-
logger.error("QMT not work", e)
245-
else:
246-
logger.warning("QMT need run in Windows!")
239+
# import platform
240+
#
241+
# if platform.system() == "Windows":
242+
# try:
243+
# import zvt.recorders.qmt as qmt_recorder
244+
# except Exception as e:
245+
# logger.error("QMT not work", e)
246+
# else:
247+
# logger.warning("QMT need run in Windows!")
247248

248249

249250
__all__ = ["zvt_env", "zvt_config", "init_log", "init_env", "init_config", "__version__"]

0 commit comments

Comments
 (0)
Please sign in to comment.