Change to ineptpdf.py, so that we throw an exception for DRM-free PDFs, rather than processing them.

This commit is contained in:
Apprentice Harper
2016-08-10 06:40:48 +01:00
parent 908ebc5c58
commit c2615c4d3b
10 changed files with 35 additions and 25 deletions

View File

@@ -54,6 +54,7 @@ __docformat__ = 'restructuredtext en'
# 6.5.0 - Big update to Macintosh app
# Fix for some more 'new' tags in Topaz ebooks.
# Fix an error in wineutils.py
# 6.5.1 - Updated version number, added PDF check for DRM-free documents
"""
@@ -61,7 +62,7 @@ Decrypt DRMed ebooks.
"""
PLUGIN_NAME = u"DeDRM"
PLUGIN_VERSION_TUPLE = (6, 5, 0)
PLUGIN_VERSION_TUPLE = (6, 5, 1)
PLUGIN_VERSION = u".".join([unicode(str(x)) for x in PLUGIN_VERSION_TUPLE])
# Include an html helpfile in the plugin's zipfile with the following name.
RESOURCE_NAME = PLUGIN_NAME + '_Help.htm'