[Fix] make flake8 happy
This commit is contained in:
parent
023e6b4221
commit
277a6f6be1
@ -4,12 +4,12 @@ from vnpy.trader.engine import MainEngine
|
|||||||
from vnpy.trader.ui import QtWidgets
|
from vnpy.trader.ui import QtWidgets
|
||||||
|
|
||||||
from .ui import CsvLoaderUI
|
from .ui import CsvLoaderUI
|
||||||
|
|
||||||
from ..CsvLoader import CsvLoader
|
from ..CsvLoader import CsvLoader
|
||||||
|
|
||||||
|
|
||||||
class CsvLoaderWidget(QtWidgets.QWidget):
|
class CsvLoaderWidget(QtWidgets.QWidget):
|
||||||
""""""
|
""""""
|
||||||
|
|
||||||
def __init__(self, main_engine: MainEngine, event_engine: EventEngine):
|
def __init__(self, main_engine: MainEngine, event_engine: EventEngine):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.loader = CsvLoader(main_engine, event_engine)
|
self.loader = CsvLoader(main_engine, event_engine)
|
||||||
@ -34,13 +34,3 @@ class CsvLoaderWidget(QtWidgets.QWidget):
|
|||||||
self.loader.volume_head = self.ui.volume_edit.text()
|
self.loader.volume_head = self.ui.volume_edit.text()
|
||||||
|
|
||||||
self.loader.load()
|
self.loader.load()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user