mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
9ba40c6f83
commit
5b8023dfb6
@ -48,6 +48,7 @@ def get_smarts(syntax):
|
||||
except (ImportError, AttributeError):
|
||||
pass
|
||||
|
||||
|
||||
_dff = None
|
||||
|
||||
|
||||
|
@ -768,6 +768,7 @@ class Preferences(QDialog):
|
||||
tprefs.set('preferences_geom', bytearray(self.saveGeometry()))
|
||||
QDialog.reject(self)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from calibre.gui2 import Application
|
||||
from calibre.gui2.tweak_book.main import option_parser
|
||||
|
@ -1195,6 +1195,7 @@ class PlainTextEdit(QPlainTextEdit): # {{{
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = QApplication([])
|
||||
AddCover.test()
|
||||
|
Loading…
x
Reference in New Issue
Block a user