Kobo driver: Fix a regression that broke working with very old Kobo devices. Fixes #2092732 [Tolino device detection bug with my Kobo](https://bugs.launchpad.net/calibre/+bug/2092732)

This commit is contained in:
Kovid Goyal 2025-02-08 13:13:04 +05:30
parent 496a9630f1
commit 2575737679
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -701,6 +701,9 @@ class KOBO(USBMS):
ContentType = 901 # Yet another hack: to get around Kobo changing how ContentID is stored ContentType = 901 # Yet another hack: to get around Kobo changing how ContentID is stored
return ContentType return ContentType
def isTolinoDevice(self):
return False
def path_from_contentid(self, ContentID, ContentType, MimeType, oncard): def path_from_contentid(self, ContentID, ContentType, MimeType, oncard):
path = ContentID path = ContentID