mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:24:09 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -1055,6 +1055,7 @@ def prepare_addable_books(self, paths):
|
|||
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 @@ def set_series(self, connection, book):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue