[Mod] make flake8 happy

This commit is contained in:
nanoric 2019-03-22 01:27:16 -04:00
parent 4753986a20
commit 17eefab346

View File

@ -5,7 +5,7 @@ Author: Zehua Wei (nanoric)
from vnpy.event import EventEngine from vnpy.event import EventEngine
from vnpy.trader.constant import Exchange, Interval from vnpy.trader.constant import Exchange, Interval
from vnpy.trader.engine import MainEngine from vnpy.trader.engine import MainEngine
from vnpy.trader.ui import QtWidgets, QtCore from vnpy.trader.ui import QtCore, QtWidgets
from ..engine import APP_NAME from ..engine import APP_NAME
@ -27,8 +27,8 @@ class CsvLoaderWidget(QtWidgets.QWidget):
self.setFixedWidth(300) self.setFixedWidth(300)
self.setWindowFlags( self.setWindowFlags(
(self.windowFlags() | QtCore.Qt.CustomizeWindowHint) & (self.windowFlags() | QtCore.Qt.CustomizeWindowHint)
~QtCore.Qt.WindowMaximizeButtonHint) & ~QtCore.Qt.WindowMaximizeButtonHint)
file_button = QtWidgets.QPushButton("选择文件") file_button = QtWidgets.QPushButton("选择文件")
file_button.clicked.connect(self.select_file) file_button.clicked.connect(self.select_file)