From 9c97808328d2145604db6279ae887434ddc3c4c9 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 28 May 2016 19:39:50 +1000 Subject: [PATCH] Make config_widget a class method Missed the @classmethod for the config_widget methods. This is needed to not break the extended driver. --- src/calibre/devices/kobo/driver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index a67567831a..57849a9394 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1055,6 +1055,7 @@ class KOBO(USBMS): paths[idx] = tf.name return paths + @classmethod def config_widget(self): # TODO: Cleanup the following self.current_friendly_name = self.gui_name @@ -2774,6 +2775,7 @@ class KOBOTOUCH(KOBO): if show_debug: debug_print("KoboTouch:set_series - end") + @classmethod def config_widget(self): # TODO: Cleanup the following self.current_friendly_name = self.gui_name