somehow a call to get_cursor() got turned into just a db pass .. and removed the debug code in recogniseplayerids

This commit is contained in:
eblade
2009-08-07 17:18:51 -04:00
parent 43b41e88f4
commit 4445881bfe
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ def mainParser(settings, siteID, category, hand, config, db = None, writeq = Non
seatLines.append(line)
names = fpdb_simple.parseNames(seatLines)
playerIDs = fpdb_simple.recognisePlayerIDs(db, names, siteID) # inserts players as needed
playerIDs = fpdb_simple.recognisePlayerIDs(db.get_cursor(), names, siteID) # inserts players as needed
tmp = fpdb_simple.parseCashesAndSeatNos(seatLines)
startCashes = tmp['startCashes']
seatNos = tmp['seatNos']