Skip to content
Browse files

asin hash regex fix (Michal Zukowski)

  • Loading branch information...
1 parent b9d7dc0 commit adf278fe0803d73f90b458188d413cebde2d5897 @richardpeng committed Apr 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Kindelabra.py
View
2 Kindelabra.py
@@ -117,7 +117,7 @@ def get_collections(self):
for namehash in self.db[collection]['items']:
if re.match('\*[\w]', namehash):
namehash = str(namehash.lstrip("*"))
- asin = re.match('\#(\w+)\^\w{4}', namehash)
+ asin = re.match('\#([\w\-]+)\^\w{4}', namehash)
if asin:
asin = asin.group(1)
try:

0 comments on commit adf278f

Please sign in to comment.
Something went wrong with that request. Please try again.