Fix crash on Stars tourney import
If importing a tourney and the line was marked as crap this test crashed the importer
This commit is contained in:
parent
1e788621a5
commit
8ebcd7b68a
|
@ -714,7 +714,7 @@ def filterCrap(site, hand, isTourney):
|
||||||
hand[i] = False
|
hand[i] = False
|
||||||
elif (hand[i].find(": ")!=-1 and site=="ftp" and hand[i].find("Seat ")==-1 and hand[i].find(": Table")==-1): #filter ftp chat
|
elif (hand[i].find(": ")!=-1 and site=="ftp" and hand[i].find("Seat ")==-1 and hand[i].find(": Table")==-1): #filter ftp chat
|
||||||
hand[i] = False
|
hand[i] = False
|
||||||
if isTourney:
|
if isTourney and not hand[i] == False:
|
||||||
if (hand[i].endswith(" is sitting out") and (not hand[i].startswith("Seat "))):
|
if (hand[i].endswith(" is sitting out") and (not hand[i].startswith("Seat "))):
|
||||||
hand[i] = False
|
hand[i] = False
|
||||||
elif hand[i]:
|
elif hand[i]:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user