From 8e436ad9204665412774528f0d81b8a350bbf04a Mon Sep 17 00:00:00 2001 From: Aldo Bleeker Date: Sun, 29 Nov 2020 16:54:45 +0100 Subject: [PATCH] Python 3 fixes fort correct version of __init__.py --- DeDRM_plugin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeDRM_plugin/__init__.py b/DeDRM_plugin/__init__.py index 79dabef..cb981d8 100644 --- a/DeDRM_plugin/__init__.py +++ b/DeDRM_plugin/__init__.py @@ -77,7 +77,7 @@ Decrypt DRMed ebooks. """ PLUGIN_NAME = "DeDRM" -PLUGIN_VERSION_TUPLE = (7, 0, 0) +PLUGIN_VERSION_TUPLE = tuple([int(x) for x in __version__.split(".")]) PLUGIN_VERSION = ".".join([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'