Skip to content
This repository has been archived by the owner on May 21, 2023. It is now read-only.

Commit

Permalink
Bug fix for Windows; updated comment; added Windows build dirs to
Browse files Browse the repository at this point in the history
.gitignore
  • Loading branch information
mcmillen committed Jul 16, 2012
1 parent c8f1206 commit 254fc8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.pyc
build/
dist/
2 changes: 1 addition & 1 deletion ChatKosLookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def koscheck_internal(self, entity):

kos = None
for value in result['results']:
# Require exact match
# Require exact match (case-insensitively).
if value['label'].lower() != entity.lower():
continue
kos = False
Expand Down
4 changes: 2 additions & 2 deletions KosLookupExe.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def __init__(self, *args, **kwargs):
self.KosCheckerPoll()

def KosCheckerPoll(self):
entry = self.tailer.poll()
entry, comment = self.tailer.poll()
if not entry:
wx.FutureCall(1000, self.KosCheckerPoll)
return
comment, kos, not_kos, error = self.checker.koscheck_logentry(entry)
kos, not_kos, error = self.checker.koscheck_logentry(entry)
new_labels = []
if comment:
new_labels.append(('black', comment))
Expand Down

0 comments on commit 254fc8f

Please sign in to comment.