Merge /home/reb402/workspace/free_poker_tools

This commit is contained in:
Eratosthenes 2010-12-18 10:44:04 -05:00
commit c960a426ae

View File

@ -49,7 +49,7 @@ class Table(Table_Window):
WinListDict = CGWindowListCreateDescriptionFromArray(WinList)
for d in WinListDict:
if re.search(self.search_string, d[kCGWindowName], re.I):
if re.search(self.search_string, d.get(kCGWindowName, ""), re.I):
title = d[kCGWindowName]
if self.check_bad_words(title): continue
self.number = d[kCGWindowNumber]