fix for aggregation file path in meta xml file
@@ -284,9 +284,7 @@ class AbstractFileMetaData(models.Model):
resource = self.logical_file.resource
- aggregation_map_file_path = os.path.join(resource.file_path,
- self.logical_file.map_file_path)
- aggregation_map_file_path += "#aggregation"
+ aggregation_map_file_path = '{}#aggregation'.format(self.logical_file.map_file_path)
aggregation_map_uri = current_site_url() + "/{}".format(aggregation_map_file_path)
rdf_Description.set('{%s}about' % CoreMetaData.NAMESPACES['rdf'], aggregation_map_uri)
