return appropriate tuple from import_fpdb_file on file error
This commit is contained in:
parent
560cb1a543
commit
9066cf9fc6
|
@ -244,7 +244,7 @@ class Importer:
|
||||||
inputFile = open(file, "rU")
|
inputFile = open(file, "rU")
|
||||||
else:
|
else:
|
||||||
self.removeFromFileList['file'] = True
|
self.removeFromFileList['file'] = True
|
||||||
return
|
return (0, 0, 0, 1, 0)
|
||||||
try:
|
try:
|
||||||
loc = self.pos_in_file[file]
|
loc = self.pos_in_file[file]
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user