Skip to content

Commit

Permalink
!3 修正几处笔误
Browse files Browse the repository at this point in the history
Merge pull request !3 from blus/tmp_dev1
  • Loading branch information
fasiondog authored and gitee-org committed Jan 16, 2022
2 parents b6cd547 + ff9318a commit 96eac5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hikyuu/gui/HikyuuTDX.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def on_start_import_pushButton_clicked(self):
QApplication.processEvents()
if self.tdx_radioButton.isChecked():
self.hdf5_import_thread = UseTdxImportToH5Thread(config)
self.hdf5_import_thread = UseTdxImportToH5Thread(self, config)
else:
self.hdf5_import_thread = UsePytdxImportToH5Thread(self, config)
Expand Down
2 changes: 1 addition & 1 deletion hikyuu/gui/data/ImportTdxToH5Task.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __del__(self):
pass

def __call__(self):
capture_multiprocess_all_logger(self.log_queue, get_default_logger().levle)
capture_multiprocess_all_logger(self.log_queue, get_default_logger().level)
use_hdf = False
if self.config.getboolean('hdf5', 'enable', fallback=True):
sqlite_file = "{}/stock.db".format(self.config['hdf5']['dir'])
Expand Down
2 changes: 1 addition & 1 deletion hikyuu/gui/data/UseTdxImportToH5Thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, parent, config):
super(self.__class__, self).__init__()
self.logger = logging.getLogger(self.__class__.__name__)
self.parent = parent
self.log_queue = parent.mq_log_q if parent is not None else None
self.log_queue = parent.mp_log_q if parent is not None else None
self.config = config
self.msg_name = 'HDF5_IMPORT'

Expand Down

0 comments on commit 96eac5e

Please sign in to comment.