[NEWIMPORT] Partially fix number of hands parsed reporting

This commit is contained in:
Worros
2009-12-04 17:56:56 +08:00
parent b7d9a843bd
commit ee205c3b29
2 changed files with 13 additions and 7 deletions
+4
View File
@@ -427,8 +427,12 @@ class Importer:
self.pos_in_file[file] = hhc.getLastCharacterRead()
for hand in handlist:
#try, except duplicates here?
#hand.prepInsert()
hand.insert(self.database)
errors = getattr(hhc, 'numErrors')
stored = getattr(hhc, 'numHands')
else:
# conversion didn't work
# TODO: appropriate response?