From 8f38ba50e140a7e9f9ef22b9c03f8f09b5ca26e5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 21 Jan 2021 20:43:52 +0530 Subject: [PATCH] pep8 --- src/calibre/gui2/dialogs/template_dialog.py | 2 +- src/calibre/gui2/dialogs/template_dialog_box_layout.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/dialogs/template_dialog.py b/src/calibre/gui2/dialogs/template_dialog.py index 0141774014..da19bc2327 100644 --- a/src/calibre/gui2/dialogs/template_dialog.py +++ b/src/calibre/gui2/dialogs/template_dialog.py @@ -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() diff --git a/src/calibre/gui2/dialogs/template_dialog_box_layout.py b/src/calibre/gui2/dialogs/template_dialog_box_layout.py index a3336e50f8..5ac5358b82 100644 --- a/src/calibre/gui2/dialogs/template_dialog_box_layout.py +++ b/src/calibre/gui2/dialogs/template_dialog_box_layout.py @@ -10,4 +10,4 @@ from PyQt5.Qt import (QBoxLayout) class BoxLayout(QBoxLayout): def __init__(self): - QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom) \ No newline at end of file + QBoxLayout.__init__(self, QBoxLayout.Direction.TopToBottom)