Commit b48afa38 authored by Ozzieisaacs's avatar Ozzieisaacs

Fix #1386 (Add asin to recognized identifiers)

parent f7269d8d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment