--- ImageArchive/ImageArchive.py 2005/04/10 13:01:45 1.50 +++ ImageArchive/ImageArchive.py 2005/04/10 13:32:28 1.51 @@ -819,9 +819,11 @@ class ImageCollection(Folder, Persistent for file in files: - + if os.path.isdir(os.path.join(self.ImageStoragePath,file)): - manage_AddImageCollection(self,file,file,os.path.join(self.ImageStoragePath,file),self.ImageViewerPath,self.defaultMetaString) + imageStoragePath=os.path.join(self.ImageStoragePath,file) + imageViewerPath=os.path.join(self.ImageViewerPath,file) + manage_AddImageCollection(self,file,file,imageStoragePath,imageViewerPath,self.defaultMetaString) obj=getattr(self,file) obj.ImportStructure()