From 4d119faa82f1367cfad3087c0dbff43bcb313c4d Mon Sep 17 00:00:00 2001 From: JulienPeloton Date: Mon, 25 Nov 2024 14:34:03 +0100 Subject: [PATCH] Concat strings --- apps/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/utils/utils.py b/apps/utils/utils.py index c8fffa5..4ded888 100644 --- a/apps/utils/utils.py +++ b/apps/utils/utils.py @@ -40,7 +40,7 @@ def extract_configuration(filename): if config["HOST"].endswith(".org"): config["APIURL"] = "https://" + config["HOST"] else: - config["APIURL"] = "http://" + config["HOST"] + ":" + config["PORT"] + config["APIURL"] = "http://" + config["HOST"] + ":" + str(config["PORT"]) return config def download_cutout(objectId, candid, kind):