From d4d98e3f2a5a02995c040dc466cbfb4efd62fe71 Mon Sep 17 00:00:00 2001 From: David Forrester Date: Thu, 3 Oct 2013 15:20:32 +1000 Subject: [PATCH] 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. --- src/calibre/devices/kobo/driver.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index e8985b1ff9..1f41e583bb 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -63,7 +63,7 @@ class KOBO(USBMS): gui_name = 'Kobo Reader' description = _('Communicate with the Kobo Reader') author = 'Timothy Legge and David Forrester' - version = (2, 1, 3) + version = (2, 1, 4) dbversion = 0 fwversion = 0 @@ -661,6 +661,8 @@ class KOBO(USBMS): ' "Attempt to support newer firmware" option.' ' Doing so may require you to perform a factory reset of' ' your Kobo.' + '\nDevice database version: %s.' + '\nDevice firmware version: %s' % (self.dbversion, self.fwversion) ), UserFeedback.WARN) @@ -2834,6 +2836,8 @@ class KOBOTOUCH(KOBO): ' "Attempt to support newer firmware" option.' ' Doing so may require you to perform a factory reset of' ' your Kobo.' + '\nDevice database version: %s.' + '\nDevice firmware version: %s' % (self.dbversion, self.fwversion) ), UserFeedback.WARN)