]> xmof Git - DeDRM.git/commitdiff
Python 3 fixes fort correct version of __init__.py
authorAldo Bleeker <mail@ableeker.demon.nl>
Sun, 29 Nov 2020 15:54:45 +0000 (16:54 +0100)
committerAldo Bleeker <mail@ableeker.demon.nl>
Sun, 29 Nov 2020 15:54:45 +0000 (16:54 +0100)
DeDRM_plugin/__init__.py

index 79dabeff1eccd88659a6d945ab2524d10e363396..cb981d832d0a845466c16025830a635b0bb0c375 100644 (file)
@@ -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'