2 Commits

Author SHA1 Message Date
Jedd Morgan ac3333d43f don't use https for http server urls (#6) 2025-07-02 22:11:01 +01:00
Jedd Morgan 0e00a92c8d Fix for non-app.speckle.systems servers (#5) 2025-07-02 21:35:44 +01:00
+3 -1
View File
@@ -94,7 +94,9 @@ def open_and_convert_file(
print(f"Sending to speckle complete after: {(time.time() - start) * 1000}ms")
start = time.time()
client = SpeckleClient()
server_url = account.serverInfo.url
assert server_url
client = SpeckleClient(host=server_url, use_ssl=server_url.startswith("https"))
client.authenticate_with_account(account)
create_version = CreateVersionInput(