some use of not instead of comparing to blank lists

This commit is contained in:
eblade 2009-03-26 18:32:25 -04:00
parent c3517bd53b
commit de60d51dcf

View File

@ -68,13 +68,13 @@ class GuiGraphViewer (threading.Thread):
if len(result) == 1:
playerids.append(result[0][0])
if sitenos == []:
if not sitenos:
#Should probably pop up here.
print "No sites selected - defaulting to PokerStars"
sitenos = [2]
if playerids == []:
if not playerids:
print "No player ids found"
return