p46 - auto-importer kinda works - it does what its supposed to, but freezes the interface. you can however just start the interface a second time. anyone know how to fix this?

This commit is contained in:
steffen123
2008-08-17 05:28:26 +01:00
parent 579b44450c
commit 5a462037c3
4 changed files with 29 additions and 6 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ class GuiBulkImport (threading.Thread):
self.path=self.inputFile
for file in os.listdir(self.path):
if os.path.isdir(file):
pass
print "BulkImport is not recursive - please select the final directory in which the history files are"
else:
self.inputFile=self.path+os.sep+file
fpdb_import.import_file_dict(self)
print "import_dir done"
print "GuiBulkImport.import_dir done"
def load_clicked(self, widget, data=None):
self.inputFile=self.chooser.get_filename()