消除gitee scan告警

This commit is contained in:
fasiondog 2022-01-19 00:41:20 +08:00
parent 05a93c2cc4
commit 969681277d
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class ProgressBar:
class ImportTdxToH5Task:
def __init__(self, log_queue, queue, config, market, ktype, quotations, src_dir, dest_dir):
super(self.__class__, self).__init__()
super(ImportTdxToH5Task, self).__init__()
self.logger = logging.getLogger(self.__class__.__name__)
self.task_name = 'IMPORT_KDATA'
self.log_queue = log_queue

View File

@ -47,7 +47,7 @@ class UsePytdxImportToH5Thread(QThread):
message = pyqtSignal(list)
def __init__(self, parent, config):
super(self.__class__, self).__init__()
super(UsePytdxImportToH5Thread, self).__init__()
self.parent = parent
self.log_queue = parent.mp_log_q if parent is not None else None
self.config = config

View File

@ -38,7 +38,7 @@ class UseTdxImportToH5Thread(QThread):
message = pyqtSignal(list)
def __init__(self, parent, config):
super(self.__class__, self).__init__()
super(UseTdxImportToH5Thread, self).__init__()
self.logger = logging.getLogger(self.__class__.__name__)
self.parent = parent
self.log_queue = parent.mp_log_q if parent is not None else None