Couple of additional fixes for import

This commit is contained in:
Worros 2009-02-19 22:10:31 +09:00
parent 50ca5d5457
commit 98ea23cd49

View File

@ -210,11 +210,11 @@ class Importer:
return
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
conv.processFile()
if(conv.getStatus()):
(stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(conv.getProcessedFile(ofile), site)
(stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(conv.getProcessedFile(), site)
#This will barf if conv.getStatus != True
return (stored, duplicates, partial, errors, ttime)