diff --git a/cps/db.py b/cps/db.py index 1e2b1af7..499765d1 100755 --- a/cps/db.py +++ b/cps/db.py @@ -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)