summaryrefslogtreecommitdiffstats
path: root/Obok_plugin
diff options
context:
space:
mode:
authorNoDRM <[email protected]>2021-11-16 21:22:09 +0100
committerNoDRM <[email protected]>2021-11-16 21:22:09 +0100
commitd9353bdd9372f607d9ab8a8059ee4469541406a8 (patch)
tree3967b719f2b2f454cbfee1d59d0ec95d19db5a68 /Obok_plugin
parent5d10420422addaeeb20556c13d45d0285b1d7f43 (diff)
Obok plugin cleanup
Diffstat (limited to 'Obok_plugin')
-rw-r--r--Obok_plugin/__init__.py4
-rw-r--r--Obok_plugin/config.py2
-rw-r--r--Obok_plugin/obok/obok.py6
3 files changed, 8 insertions, 4 deletions
diff --git a/Obok_plugin/__init__.py b/Obok_plugin/__init__.py
index 60daad3..2ecc16a 100644
--- a/Obok_plugin/__init__.py
+++ b/Obok_plugin/__init__.py
@@ -3,7 +3,7 @@ from __future__ import (unicode_literals, division, absolute_import,
print_function)
__license__ = 'GPL v3'
-__version__ = '7.2.1'
+__version__ = '10.0.0'
__docformat__ = 'restructuredtext en'
#####################################################################
@@ -20,7 +20,7 @@ except NameError:
PLUGIN_NAME = 'Obok DeDRM'
PLUGIN_SAFE_NAME = PLUGIN_NAME.strip().lower().replace(' ', '_')
PLUGIN_DESCRIPTION = _('Removes DRM from Kobo kepubs and adds them to the library.')
-PLUGIN_VERSION_TUPLE = (7, 2, 1)
+PLUGIN_VERSION_TUPLE = (10, 0, 0)
PLUGIN_VERSION = '.'.join([str(x) for x in PLUGIN_VERSION_TUPLE])
HELPFILE_NAME = PLUGIN_SAFE_NAME + '_Help.htm'
PLUGIN_AUTHORS = 'Anon'
diff --git a/Obok_plugin/config.py b/Obok_plugin/config.py
index 2830dad..deb29f9 100644
--- a/Obok_plugin/config.py
+++ b/Obok_plugin/config.py
@@ -204,7 +204,7 @@ class AddSerialDialog(QDialog):
def accept(self):
if len(self.key_name) == 0 or self.key_name.isspace():
- errmsg = "Please enter an eInk Kindle Serial Number or click Cancel in the dialog."
+ errmsg = "Please enter an eInk Kobo Serial Number or click Cancel in the dialog."
return error_dialog(None, "{0} {1}".format(PLUGIN_NAME, PLUGIN_VERSION), errmsg, show=True, show_copy_button=False)
if len(self.key_name) != 13:
errmsg = "EInk Kobo Serial Numbers must be 13 characters long. This is {0:d} characters long.".format(len(self.key_name))
diff --git a/Obok_plugin/obok/obok.py b/Obok_plugin/obok/obok.py
index 00f2207..ae8ff89 100644
--- a/Obok_plugin/obok/obok.py
+++ b/Obok_plugin/obok/obok.py
@@ -1,9 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+# Version 10.0.0 November 2021
+# Merge https://github.com/apprenticeharper/DeDRM_tools/pull/1691 to fix
+# key fetch issues on some machines.
+#
# Version 4.1.0 February 2021
# Add detection for Kobo directory location on Linux
-
+#
# Version 4.0.0 September 2020
# Python 3.0
#