stop error when switching back from threads to 0 threads

This commit is contained in:
sqlcoder 2009-08-07 00:06:11 +01:00
parent 126dfd7331
commit 16319ea039

View File

@ -379,7 +379,7 @@ class Importer:
# Load filter, process file, pass returned filename to import_fpdb_file
if self.writeq != None:
if self.settings['threads'] > 0 and self.writeq != None:
print "\nConverting " + file + " (" + str(q.qsize()) + ")"
else:
print "\nConverting " + file