Another stab at fixing Muse detection on Linux

This commit is contained in:
Kovid Goyal 2015-01-10 22:54:10 +05:30
parent 73db79b1fa
commit e313d85a97

View File

@ -129,3 +129,10 @@ class MUSE(CYBOOK):
EBOOK_DIR_MAIN = 'Books' EBOOK_DIR_MAIN = 'Books'
SCAN_FROM_ROOT = True SCAN_FROM_ROOT = True
@classmethod
def can_handle(cls, device_info, debug=False):
if isunix:
return device_info[3] == 'Bookeen' and device_info[4] == 'Cybook'
return True