mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Display version on Kobo unsupported firmware message
When calibre shows the message that says the Kobo device is not supported, the firmware version and database version on the device is not displayed. Adding this to make support a little easier.
This commit is contained in:
parent
11374b1520
commit
d4d98e3f2a
@ -63,7 +63,7 @@ class KOBO(USBMS):
|
|||||||
gui_name = 'Kobo Reader'
|
gui_name = 'Kobo Reader'
|
||||||
description = _('Communicate with the Kobo Reader')
|
description = _('Communicate with the Kobo Reader')
|
||||||
author = 'Timothy Legge and David Forrester'
|
author = 'Timothy Legge and David Forrester'
|
||||||
version = (2, 1, 3)
|
version = (2, 1, 4)
|
||||||
|
|
||||||
dbversion = 0
|
dbversion = 0
|
||||||
fwversion = 0
|
fwversion = 0
|
||||||
@ -661,6 +661,8 @@ class KOBO(USBMS):
|
|||||||
' "Attempt to support newer firmware" option.'
|
' "Attempt to support newer firmware" option.'
|
||||||
' Doing so may require you to perform a factory reset of'
|
' Doing so may require you to perform a factory reset of'
|
||||||
' your Kobo.'
|
' your Kobo.'
|
||||||
|
'\nDevice database version: %s.'
|
||||||
|
'\nDevice firmware version: %s' % (self.dbversion, self.fwversion)
|
||||||
),
|
),
|
||||||
UserFeedback.WARN)
|
UserFeedback.WARN)
|
||||||
|
|
||||||
@ -2834,6 +2836,8 @@ class KOBOTOUCH(KOBO):
|
|||||||
' "Attempt to support newer firmware" option.'
|
' "Attempt to support newer firmware" option.'
|
||||||
' Doing so may require you to perform a factory reset of'
|
' Doing so may require you to perform a factory reset of'
|
||||||
' your Kobo.'
|
' your Kobo.'
|
||||||
|
'\nDevice database version: %s.'
|
||||||
|
'\nDevice firmware version: %s' % (self.dbversion, self.fwversion)
|
||||||
),
|
),
|
||||||
UserFeedback.WARN)
|
UserFeedback.WARN)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user