mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unnecessary method definitions from folder driver
This commit is contained in:
parent
9ee1ca9d3c
commit
66d2604458
@ -58,14 +58,6 @@ class FOLDER_DEVICE(USBMS):
|
||||
self.booklist_class = BookList
|
||||
self.is_connected = True
|
||||
|
||||
@classmethod
|
||||
def get_gui_name(cls):
|
||||
if hasattr(cls, 'gui_name'):
|
||||
return cls.gui_name
|
||||
if hasattr(cls, '__name__'):
|
||||
return cls.__name__
|
||||
return cls.name
|
||||
|
||||
def disconnect_from_folder(self):
|
||||
self._main_prefix = ''
|
||||
self.is_connected = False
|
||||
@ -85,9 +77,6 @@ class FOLDER_DEVICE(USBMS):
|
||||
def card_prefix(self, end_session=True):
|
||||
return (None, None)
|
||||
|
||||
def get_main_ebook_dir(self):
|
||||
return ''
|
||||
|
||||
def eject(self):
|
||||
self.is_connected = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user