Commits

Luke Plant  committed c8c77ef

Fixed missing parenthesis on function call

  • Participants
  • Parent commits 8803167
  • Branches simple-wordtree

Comments (0)

Files changed (1)

File phone2word.py

     return ''.join(retval)
 
 def addWordToList(word, words):
-    if word.upper() not in map(lambda s: s.upper, words):
+    if word.upper() not in map(lambda s: s.upper(), words):
         words.append(word)
 
 noWords = () # we only need one of these