filterCrap after checking if hand is in db
refactor GuiBulkImport : add main() so that it can be called from interactive shell (for profiling purposes).
This commit is contained in:
@@ -65,6 +65,8 @@ def mainParser(backend, db, cursor, site, category, hand, config):
|
||||
tourneyTypeId=fpdb_simple.recogniseTourneyTypeId(cursor, siteID, buyin, fee, knockout, rebuyOrAddon)
|
||||
fpdb_simple.isAlreadyInDB(cursor, gametypeID, siteHandNo)
|
||||
|
||||
hand=fpdb_simple.filterCrap(site, hand, isTourney)
|
||||
|
||||
#part 2: classify lines by type (e.g. cards, action, win, sectionchange) and street
|
||||
fpdb_simple.classifyLines(hand, category, lineTypes, lineStreets)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user