From 9066cf9fc6ad9330730970be976f086194a68992 Mon Sep 17 00:00:00 2001 From: eblade Date: Wed, 25 Feb 2009 22:47:22 -0500 Subject: [PATCH] return appropriate tuple from import_fpdb_file on file error --- pyfpdb/fpdb_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index aa40b218..16435b06 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -244,7 +244,7 @@ class Importer: inputFile = open(file, "rU") else: self.removeFromFileList['file'] = True - return + return (0, 0, 0, 1, 0) try: loc = self.pos_in_file[file] except: