Skip to content

Commit

Permalink
Fix: lowercase block units before pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
glimmerphoenix committed Dec 20, 2014
1 parent 5d39c84 commit a202ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikidat/retrieval/logitem.py
Expand Up @@ -153,7 +153,7 @@ def process_logitem(log_iter):
except StandardError:
exp_par = re.split(r'(\D+)', par_dur)
duration = exp_par[0]
units = exp_par[1]
units = exp_par[1].lower()

if (units == 'infinite' or
units == 'indefininte'):
Expand Down

0 comments on commit a202ec1

Please sign in to comment.