mirror of
https://github.com/janeczku/calibre-web
synced 2026-11-28 18:03:12 +00:00
Fix #1386 (Add asin to recognized identifiers)
This commit is contained in:
1 parent
f7269d8df2
commit
b48afa38ac
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user