Small change - note we should error check

This commit is contained in:
Worros
2009-02-05 18:50:50 +09:00
parent 315d010311
commit 6214131713
3 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -162,8 +162,9 @@ class Importer:
if(filter == "EverleafToFpdb"):
conv = EverleafToFpdb(self.config, file)
conv.readSupportedGames() # Should this be done by HHC on init?
conv.determineGameType()
supp = conv.readSupportedGames() # Should this be done by HHC on init?
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)