mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
734ddd2943
commit
31c2b8b3d1
@ -305,7 +305,6 @@ class Preferences(QMainWindow):
|
||||
self.bar.setVisible(True)
|
||||
self.bb.setVisible(False)
|
||||
|
||||
|
||||
def hide_plugin(self):
|
||||
self.showing_widget = QWidget(self.scroll_area)
|
||||
self.scroll_area.setWidget(self.showing_widget)
|
||||
@ -356,7 +355,6 @@ class Preferences(QMainWindow):
|
||||
if do_restart:
|
||||
self.gui.quit(restart=True)
|
||||
|
||||
|
||||
def cancel(self, *args):
|
||||
if self.close_after_initial:
|
||||
self.close()
|
||||
@ -390,3 +388,4 @@ if __name__ == '__main__':
|
||||
p.show()
|
||||
app.exec_()
|
||||
gui.shutdown()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user