clean url arguments

This commit is contained in:
KatKatKateryna
2024-08-25 03:11:04 +01:00
parent ce4348a3ee
commit addcd818a3
+1 -1
View File
@@ -329,7 +329,7 @@ class SpeckleProvider(BaseProvider):
wrapper: StreamWrapper = StreamWrapper(url_proj)
# set actual branch
wrapper.model_id = self.speckle_url.split("models/")[1].split("/")[0].split("&")[0]
wrapper.model_id = self.speckle_url.split("models/")[1].split(" ")[0].split("/")[0].split("&")[0].split(",")[0].split(";")[0].split("@")[0]
# get stream and branch data
client = get_client(wrapper, url_proj)