mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make config_widget a class method
Missed the @classmethod for the config_widget methods. This is needed to not break the extended driver.
This commit is contained in:
parent
4aee79ae59
commit
9c97808328
@ -1055,6 +1055,7 @@ class KOBO(USBMS):
|
|||||||
paths[idx] = tf.name
|
paths[idx] = tf.name
|
||||||
return paths
|
return paths
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def config_widget(self):
|
def config_widget(self):
|
||||||
# TODO: Cleanup the following
|
# TODO: Cleanup the following
|
||||||
self.current_friendly_name = self.gui_name
|
self.current_friendly_name = self.gui_name
|
||||||
@ -2774,6 +2775,7 @@ class KOBOTOUCH(KOBO):
|
|||||||
if show_debug:
|
if show_debug:
|
||||||
debug_print("KoboTouch:set_series - end")
|
debug_print("KoboTouch:set_series - end")
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def config_widget(self):
|
def config_widget(self):
|
||||||
# TODO: Cleanup the following
|
# TODO: Cleanup the following
|
||||||
self.current_friendly_name = self.gui_name
|
self.current_friendly_name = self.gui_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user