Skip to content

Commit

Permalink
Merge pull request #1 from mortommy/python3conversion
Browse files Browse the repository at this point in the history
conversiont to python 3
  • Loading branch information
mortommy committed May 25, 2018
2 parents de2eead + bdcef13 commit 5d7c794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def findItemName(self, itemDictionary, messageItem):
bestItem = None

try:
for itemName, itemLabel in itemDictionary.items():
for itemName, itemLabel in list(itemDictionary.items()):
score = fuzz.ratio(messageItem, itemLabel)
if score > bestScore:
bestScore = score
Expand Down

0 comments on commit 5d7c794

Please sign in to comment.