2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-18 03:25:37 +00:00

Merge remote-tracking branch 'show_url/url-links'

This commit is contained in:
OzzieIsaacs 2018-07-24 20:46:04 +02:00
commit f8c9777668

View File

@ -112,6 +112,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 == "url":
return u"{0}".format(self.val)
else:
return u""