From 17d2ce8a0ac19916923334004c4e87c21e3c274f Mon Sep 17 00:00:00 2001 From: Jonathan Roth Date: Mon, 14 Apr 2025 12:41:50 +0200 Subject: [PATCH] fix bug --- UpdateWorker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UpdateWorker.py b/UpdateWorker.py index 7afd968..16b3c9a 100644 --- a/UpdateWorker.py +++ b/UpdateWorker.py @@ -155,7 +155,9 @@ class UpdateWorker(QThread): subprocess.run(["gzip", "-9", outfilename]) files = {'fsl': open(outfilename+'.gz', 'rb')} - r = requests.post(config['server']['sapiurl']+'?data=upload', files=files) + url = f"http://462filament/api.php?data=upload" + + r = requests.post(url, files=files) def parse_data(self, data):