Merge branch 'master' of git://git.assembla.com/fpt_fpdb
Conflicts: pyfpdb/Database.py
This commit is contained in:
@@ -139,7 +139,8 @@ Otherwise, finish at EOF.
|
||||
handsList = self.allHandsAsList()
|
||||
log.info("Parsing %d hands" % len(handsList))
|
||||
# Determine if we're dealing with a HH file or a Summary file
|
||||
if self.isSummary(handsList[0]) == False:
|
||||
# quick fix : empty files make the handsList[0] fail ==> If empty file, go on with HH parsing
|
||||
if len(handsList) == 0 or self.isSummary(handsList[0]) == False:
|
||||
self.parsedObjectType = "HH"
|
||||
for handText in handsList:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user