From 04187413a6f919429997067bc230010f56a49d35 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 16 Jun 2017 20:33:59 +0530 Subject: [PATCH] pep8 --- src/calibre/gui2/custom_column_widgets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 52071f925f..2eb5af1eaa 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -164,6 +164,7 @@ class Bool(Base): def set_to_cleared(self): self.combobox.setCurrentIndex(2) + class Int(Base): def setup_ui(self, parent): @@ -600,6 +601,7 @@ def comments_factory(db, key, parent): return LongText(db, key, parent) return Comments(db, key, parent) + widgets = { 'bool' : Bool, 'rating' : Rating, @@ -1206,5 +1208,3 @@ bulk_widgets = { 'series': BulkSeries, 'enumeration': BulkEnumeration, } - -