mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 09:30:31 +00:00
Fix #1386 (Add asin to recognized identifiers)
This commit is contained in:
parent
f7269d8df2
commit
b48afa38ac
@ -100,7 +100,7 @@ class Identifiers(Base):
|
||||
return self.type
|
||||
|
||||
def __repr__(self):
|
||||
if self.type == "amazon":
|
||||
if self.type == "amazon" or self.type == "asin":
|
||||
return u"https://amzn.com/{0}".format(self.val)
|
||||
elif self.type == "isbn":
|
||||
return u"https://www.worldcat.org/isbn/{0}".format(self.val)
|
||||
|
Loading…
Reference in New Issue
Block a user