Fix #1386 (Add asin to recognized identifiers)

This commit is contained in:
Ozzieisaacs 2020-05-12 14:44:57 +02:00
parent f7269d8df2
commit b48afa38ac
1 changed files with 1 additions and 1 deletions

View File

@ -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)