Permalink
Browse files

Fix autocomplete bug that nuked "-" in Latin names.

  • Loading branch information...
1 parent b6f126a commit 619cd8e6d98b49dfa9fad569b23788affb43e3a2 @eightysteele eightysteele committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bulkloader/getnames.py
View
@@ -86,7 +86,7 @@ def english_names():
row['type'] = 'BINOMIAL'
values = []
- for token in re.split('[^a-zA-Z0-9_]', sn):
+ for token in re.split('[^a-zA-Z0-9_-]', sn):
if token.isalpha():
values.append(token.strip().lower())
else:

0 comments on commit 619cd8e

Please sign in to comment.