Python 3 fixes fort correct version of __init__.py

This commit is contained in:
Aldo Bleeker 2020-11-29 16:54:45 +01:00
parent ae806f734e
commit 8e436ad920

View 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'