Commits

Chris Jowett committed ab0c24f

Strip periods from acronym, Fixes #18

  • Participants
  • Parent commits 08ed8a0

Comments (0)

Files changed (1)

File pmxbot/util.py

 NUM_ACS = 3
 
 def lookup_acronym(acronym):
-	acronym = acronym.strip().upper()
+	acronym = acronym.strip().upper().replace('.','')
 	html = get_html('http://www.acronymfinder.com/%s.html' % acronym)
 	idx = html.find('<th>Meaning</th>')
 	if idx == -1: