bugfix
This commit is contained in:
parent
e5489056ff
commit
d5b7b17b21
|
@ -123,7 +123,7 @@ class Importer:
|
||||||
if os.path.isdir(inputPath):
|
if os.path.isdir(inputPath):
|
||||||
for subdir in os.walk(inputPath):
|
for subdir in os.walk(inputPath):
|
||||||
for file in subdir[2]:
|
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:
|
else:
|
||||||
self.addImportFile(inputPath, site="default", filter=filter)
|
self.addImportFile(inputPath, site="default", filter=filter)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user