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):
|
except (ImportError, AttributeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
_dff = None
|
_dff = None
|
||||||
|
|
||||||
|
|
||||||
|
@ -768,6 +768,7 @@ class Preferences(QDialog):
|
|||||||
tprefs.set('preferences_geom', bytearray(self.saveGeometry()))
|
tprefs.set('preferences_geom', bytearray(self.saveGeometry()))
|
||||||
QDialog.reject(self)
|
QDialog.reject(self)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from calibre.gui2 import Application
|
from calibre.gui2 import Application
|
||||||
from calibre.gui2.tweak_book.main import option_parser
|
from calibre.gui2.tweak_book.main import option_parser
|
||||||
|
@ -1195,6 +1195,7 @@ class PlainTextEdit(QPlainTextEdit): # {{{
|
|||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app = QApplication([])
|
app = QApplication([])
|
||||||
AddCover.test()
|
AddCover.test()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user