Couple of additional fixes for import
This commit is contained in:
parent
50ca5d5457
commit
98ea23cd49
|
@ -210,11 +210,11 @@ class Importer:
|
||||||
return
|
return
|
||||||
|
|
||||||
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(ofile), site)
|
(stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(conv.getProcessedFile(), site)
|
||||||
|
|
||||||
#This will barf if conv.getStatus != True
|
#This will barf if conv.getStatus != True
|
||||||
return (stored, duplicates, partial, errors, ttime)
|
return (stored, duplicates, partial, errors, ttime)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user