From 8012df65181199d3020a155c5a04feb2ed73dd7f Mon Sep 17 00:00:00 2001 From: Frederic Meeuwissen <13856291+Frederic98@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:29:40 +0100 Subject: [PATCH] Convert str.format to f-string --- plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py index 379d66f9bb..6fe44c90d4 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py @@ -47,8 +47,8 @@ class CloudApiClient: # The cloud URL to use for this remote cluster. ROOT_PATH = UltimakerCloudConstants.CuraCloudAPIRoot - CLUSTER_API_ROOT = "{}/connect/v1".format(ROOT_PATH) - CURA_API_ROOT = "{}/cura/v1".format(ROOT_PATH) + CLUSTER_API_ROOT = f"{ROOT_PATH}/connect/v1" + CURA_API_ROOT = f"{ROOT_PATH}/cura/v1" DEFAULT_REQUEST_TIMEOUT = 10 # seconds