From e1e79a73e87dc1e480ced63c2f0c04bd1173a4c9 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Wed, 17 Apr 2019 20:14:24 +0200 Subject: [PATCH] Fix #884 --- cps/db.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cps/db.py b/cps/db.py index 225bcf4e..8a651aea 100755 --- a/cps/db.py +++ b/cps/db.py @@ -112,6 +112,8 @@ class Identifiers(Base): return u"Google Books" elif self.type == "kobo": return u"Kobo" + if self.type == "lubimyczytac": + return u"Lubimyczytac" else: return self.type @@ -130,6 +132,8 @@ class Identifiers(Base): return u"https://books.google.com/books?id={0}".format(self.val) elif self.type == "kobo": return u"https://www.kobo.com/ebook/{0}".format(self.val) + elif self.type == "lubimyczytac": + return u" http://lubimyczytac.pl/ksiazka/{0}".format(self.val) elif self.type == "url": return u"{0}".format(self.val) else: