mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 06:25:26 -04:00
pep8
This commit is contained in:
@@ -432,7 +432,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
||||
self.template_value.setText(
|
||||
SafeFormat().safe_format(cur_text, self.mi, _('EXCEPTION: '),
|
||||
self.mi, global_vars=self.global_vars,
|
||||
template_functions= self.all_functions))
|
||||
template_functions=self.all_functions))
|
||||
|
||||
def text_cursor_changed(self):
|
||||
cursor = self.textbox.textCursor()
|
||||
|
||||
@@ -10,4 +10,4 @@ from PyQt5.Qt import (QBoxLayout)
|
||||
class BoxLayout(QBoxLayout):
|
||||
|
||||
def __init__(self):
|
||||
QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom)
|
||||
QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom)
|
||||
|
||||
Reference in New Issue
Block a user