Compare commits

...

3 Commits

Author SHA1 Message Date
Apprentice Harper 76a47e0dd0 Version number update
Update to 7.1.0 for a full release
3 years ago
Apprentice Harper 70a754fb46
Merge pull request #1529 from ableeker/python3
Fix for Python 3
3 years ago
Aldo Bleeker 21a7b13524 Fix for Python 3 3 years ago

@ -5,7 +5,7 @@
# Copyright © 2008-2020 Apprentice Harper et al.
__license__ = 'GPL v3'
__version__ = '7.0.3'
__version__ = '7.1.0'
__docformat__ = 'restructuredtext en'
@ -74,6 +74,7 @@ __docformat__ = 'restructuredtext en'
# 7.0.1 - More Python 3 changes. Adobe PDF decryption should now work in some cases
# 7.0.2 - More Python 3 changes. Adobe PDF decryption should now work on PC too.
# 7.0.3 - More Python 3 changes. Integer division in ineptpdf.py
# 7.1.0 - Full release for calibre 5.x
"""
Decrypt DRMed ebooks.

@ -442,7 +442,7 @@ def nunpack(s, default=0):
elif l == 2:
return struct.unpack('>H', s)[0]
elif l == 3:
return struct.unpack('>L', '\x00'+s)[0]
return struct.unpack('>L', b'\x00'+s)[0]
elif l == 4:
return struct.unpack('>L', s)[0]
else:

@ -3,7 +3,7 @@ from __future__ import (unicode_literals, division, absolute_import,
print_function)
__license__ = 'GPL v3'
__version__ = '6.7.0'
__version__ = '7.1.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 = (6, 7, 0)
PLUGIN_VERSION_TUPLE = (7, 1, 0)
PLUGIN_VERSION = '.'.join([str(x) for x in PLUGIN_VERSION_TUPLE])
HELPFILE_NAME = PLUGIN_SAFE_NAME + '_Help.htm'
PLUGIN_AUTHORS = 'Anon'

Loading…
Cancel
Save