From 98ea23cd49eaffa293c6e100b2de5f2dad627050 Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 19 Feb 2009 22:10:31 +0900 Subject: [PATCH] Couple of additional fixes for import --- pyfpdb/fpdb_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index 304402ad..e2e5302e 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -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)