Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -24,6 +24,7 @@ from weboob.tools.application.qt import QtDo, HTMLDelegate
|
|||
|
||||
from .ui.query_ui import Ui_QueryDialog
|
||||
|
||||
|
||||
class QueryDialog(QDialog):
|
||||
def __init__(self, weboob, parent=None):
|
||||
QDialog.__init__(self, parent)
|
||||
|
|
@ -43,7 +44,7 @@ class QueryDialog(QDialog):
|
|||
|
||||
if hasattr(self.ui.cityEdit, "setPlaceholderText"):
|
||||
self.ui.cityEdit.setPlaceholderText("Press enter to search city")
|
||||
|
||||
|
||||
def keyPressEvent(self, event):
|
||||
"""
|
||||
Disable handler <Enter> and <Escape> to prevent closing the window.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue