Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Nov 13, 2024
1 parent 7cc2fb7 commit 58a418c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/calibre/devices/kobo/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ class KOBOTOUCH(KOBO):
CLARA_BW_PRODUCT_ID = [0x4239]
TOLINO_VISION_COLOR_PRODUCT_ID = [0x5237]
TOLINO_SHINE_COLOR_PRODUCT_ID = [0x5238]
TOLINO_SHINE_5thGEN_PRODUCT_ID = [0x5239]
TOLINO_SHINE_5THGEN_PRODUCT_ID = [0x5239]

PRODUCT_ID = AURA_PRODUCT_ID + AURA_EDITION2_PRODUCT_ID + \
AURA_HD_PRODUCT_ID + AURA_H2O_PRODUCT_ID + AURA_H2O_EDITION2_PRODUCT_ID + \
Expand All @@ -1504,7 +1504,7 @@ class KOBOTOUCH(KOBO):
NIA_PRODUCT_ID + ELIPSA_PRODUCT_ID + \
SAGE_PRODUCT_ID + LIBRA2_PRODUCT_ID + CLARA_2E_PRODUCT_ID + ELIPSA_2E_PRODUCT_ID + \
LIBRA_COLOR_PRODUCT_ID + CLARA_COLOR_PRODUCT_ID + CLARA_BW_PRODUCT_ID + \
TOLINO_VISION_COLOR_PRODUCT_ID + TOLINO_SHINE_COLOR_PRODUCT_ID + TOLINO_SHINE_5thGEN_PRODUCT_ID
TOLINO_VISION_COLOR_PRODUCT_ID + TOLINO_SHINE_COLOR_PRODUCT_ID + TOLINO_SHINE_5THGEN_PRODUCT_ID

BCD = [0x0110, 0x0326, 0x401, 0x409]

Expand Down Expand Up @@ -3695,7 +3695,7 @@ def isSage(self):
return self.detected_device.idProduct in self.SAGE_PRODUCT_ID

def isShine5(self):
return self.device_model_id.endswith('691') or self.detected_device.idProduct in self.TOLINO_SHINE_5thGEN_PRODUCT_ID
return self.device_model_id.endswith('691') or self.detected_device.idProduct in self.TOLINO_SHINE_5THGEN_PRODUCT_ID

def isShineColor(self):
return self.device_model_id.endswith('693') or self.detected_device.idProduct in self.TOLINO_SHINE_COLOR_PRODUCT_ID
Expand Down

0 comments on commit 58a418c

Please sign in to comment.