Skip to content

Commit

Permalink
add powerball
Browse files Browse the repository at this point in the history
  • Loading branch information
nixon committed Nov 29, 2012
1 parent 6eccf3d commit 0eedb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Kids/plugin.py
Expand Up @@ -15,7 +15,7 @@
import json

def _get_lotto_numbers(soup,drawing='lotto'):
m = re.match(r'(lotto|mega)',drawing,re.IGNORECASE)
m = re.match(r'(lotto|mega|powerball)',drawing,re.IGNORECASE)
if m:
drawing = m.group(1).capitalize()
return " ".join(map(get_text, soup.findAll('td','NewLatestResults%s'%drawing)))
Expand Down

0 comments on commit 0eedb19

Please sign in to comment.