Skip to content

Commit

Permalink
exclude missing entries marked by dash
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed Jul 18, 2016
1 parent 6a61b3f commit 5969078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ids/scripts/initializedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_string(s):
def split_counterparts(c):
for word in re.split('\s*(?:,|;)\s*', c):
word = word.strip()
if word:
if word and word not in ['—', '––']:
yield word


Expand Down

0 comments on commit 5969078

Please sign in to comment.