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