Fix .collection.props

This commit is contained in:
Guillaume Ayoub 2016-08-02 16:57:20 +02:00
parent 5b04ba18a8
commit 2f202d14e0

View File

@ -333,7 +333,7 @@ class Collection(BaseCollection):
self.path = sanitize_path(path).strip("/") self.path = sanitize_path(path).strip("/")
self.storage_encoding = self.configuration.get("encoding", "stock") self.storage_encoding = self.configuration.get("encoding", "stock")
self._filesystem_path = path_to_filesystem(folder, self.path) self._filesystem_path = path_to_filesystem(folder, self.path)
self._props_path = path_to_filesystem( self._props_path = os.path.join(
self._filesystem_path, ".collection.props") self._filesystem_path, ".collection.props")
split_path = self.path.split("/") split_path = self.path.split("/")
if len(split_path) > 1: if len(split_path) > 1: