Merge pull request #46 from ngosang/feature/btdb

Make btdb plugin python2 & python3 compatible
This commit is contained in:
Diego de las Heras 2018-11-24 15:56:10 +01:00 committed by GitHub
commit b933ac8a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 1.04
#VERSION: 1.05
# AUTHORS: Charles Worthing
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -26,8 +26,14 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
from HTMLParser import HTMLParser
# qBt
try:
# python3
from html.parser import HTMLParser
except ImportError:
# python2
from HTMLParser import HTMLParser
#qBt
from novaprinter import prettyPrinter
from helpers import download_file, retrieve_url

View File

@ -1,4 +1,4 @@
btdb: 1.04
btdb: 1.05
eztv: 1.01
jackett: 2.00
leetx: 2.00

View File

@ -1,4 +1,4 @@
#VERSION: 1.04
#VERSION: 1.05
# AUTHORS: Charles Worthing
# CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es)
@ -26,8 +26,14 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
from html.parser import HTMLParser
# qBt
try:
# python3
from html.parser import HTMLParser
except ImportError:
# python2
from HTMLParser import HTMLParser
#qBt
from novaprinter import prettyPrinter
from helpers import download_file, retrieve_url

View File

@ -1,4 +1,4 @@
btdb: 1.04
btdb: 1.05
eztv: 1.01
jackett: 2.00
leetx: 2.00