View Single Post
Old 05-15-2024, 01:04 AM   #57
Ghostcat
Enthusiast
Ghostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the huskGhostcat can grip it by the husk
 
Posts: 48
Karma: 141660
Join Date: Apr 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by PeterT View Post
I believe you're missing one MAJOR bit... You use
Code:
def isClaraColor(self):
        return self.device_model_id.endswith('393')
but I don't see a definition of device_model_id. For that you need to add in the definition of get_device_id and device_version_info along with invoking get_device_id from the current 7.x driver
OK. I'll have a look. I'm surprised that it compiles if a definition is missing.

EDIT: Won't these be added by the

import os

from calibre.devices.kobo.driver
statement?

Last edited by Ghostcat; 05-15-2024 at 01:17 AM.
Ghostcat is offline   Reply With Quote