From 6b977b8086620042197868cb482f81884486db62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 15 Dec 2019 19:52:08 +0100 Subject: [PATCH] wrong class --- connectors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/connectors.py b/connectors.py index e63364f..9cb1821 100644 --- a/connectors.py +++ b/connectors.py @@ -333,8 +333,8 @@ class Pantsu(Connector): 'seeds': check_seeds, 'leechs': tds[5].string, 'downloads': check_downloads, - 'class': self.color if AnimeLink.query.filter_by(link=quote(href)).first() else 'is-%s' % - tr['class'][0] + 'class': self.color if AnimeLink.query.filter_by(link=href).first() else 'is-%s' % + tr['class'][0] }) self.on_error = False @@ -402,7 +402,7 @@ class YggTorrent(Connector): 'seeds': check_seeds, 'leechs': tds[8].string, 'downloads': check_downloads, - 'class': self.color if AnimeLink.query.filter_by(link=url['href']).first() else '' + 'class': self.color if AnimeLink.query.filter_by(link=quote(url['href'])).first() else '' }) self.on_error = False