import working?
This commit is contained in:
parent
89bb8e3d69
commit
ff675fb3ae
|
@ -102,10 +102,6 @@ If a player has None chips he won't be added."""
|
||||||
else:
|
else:
|
||||||
logging.error("markstreets didn't match")
|
logging.error("markstreets didn't match")
|
||||||
|
|
||||||
#def addHoleCards -- to Holdem subclass
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def checkPlayerExists(self,player):
|
def checkPlayerExists(self,player):
|
||||||
if player not in [p[1] for p in self.players]:
|
if player not in [p[1] for p in self.players]:
|
||||||
print "checkPlayerExists", player, "fail"
|
print "checkPlayerExists", player, "fail"
|
||||||
|
|
|
@ -252,9 +252,9 @@ class Importer:
|
||||||
supp = conv.readSupportedGames() # Should this be done by HHC on init?
|
supp = conv.readSupportedGames() # Should this be done by HHC on init?
|
||||||
#gt = conv.determineGameType()
|
#gt = conv.determineGameType()
|
||||||
# TODO: Check that gt is in supp - error appropriately if not
|
# TODO: Check that gt is in supp - error appropriately if not
|
||||||
conv.processFile()
|
#conv.processFile()
|
||||||
if(conv.getStatus()):
|
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:
|
else:
|
||||||
# conversion didn't work
|
# conversion didn't work
|
||||||
# TODO: appropriate response?
|
# TODO: appropriate response?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user