From d5b7b17b21430b72e8ba9e4283941c81b9e6f15e Mon Sep 17 00:00:00 2001 From: Matt Turnbull Date: Wed, 25 Feb 2009 15:16:18 +0000 Subject: [PATCH] bugfix --- 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 607cf96a..2a339663 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -123,7 +123,7 @@ class Importer: if os.path.isdir(inputPath): for subdir in os.walk(inputPath): for file in subdir[2]: - self.addImportFile(os.path.join(inputPath, subdir, file), site="default", filter=filter) + self.addImportFile(os.path.join(inputPath, subdir[0], file), site="default", filter=filter) else: self.addImportFile(inputPath, site="default", filter=filter)