import working?

This commit is contained in:
Matt Turnbull 2009-03-12 03:15:34 +00:00
parent 89bb8e3d69
commit ff675fb3ae
2 changed files with 2 additions and 6 deletions

View File

@ -102,10 +102,6 @@ If a player has None chips he won't be added."""
else:
logging.error("markstreets didn't match")
#def addHoleCards -- to Holdem subclass
def checkPlayerExists(self,player):
if player not in [p[1] for p in self.players]:
print "checkPlayerExists", player, "fail"

View File

@ -252,9 +252,9 @@ class Importer:
supp = conv.readSupportedGames() # Should this be done by HHC on init?
#gt = conv.determineGameType()
# TODO: Check that gt is in supp - error appropriately if not
conv.processFile()
#conv.processFile()
if(conv.getStatus()):
(stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(conv.getProcessedFile(), site)
(stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(out_path, site)
else:
# conversion didn't work
# TODO: appropriate response?