From e73ada9adc14061ab4b71df7aadf00affe9ddfdd Mon Sep 17 00:00:00 2001 From: Tobias Leuschner Date: Sat, 9 May 2026 19:55:05 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Aktualisierung=20der=20Konfiguration=20v?= =?UTF-8?q?or=20dem=20Hochladen=20von=20Dateien;=20Versionsnummer=20auf=20?= =?UTF-8?q?1.0.62=20erh=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 4 +++- version.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 44b63b9..26bd4b5 100644 --- a/app.py +++ b/app.py @@ -1351,7 +1351,9 @@ def test_remote(tid): def run_uploads(local_dir: Path, cfg: dict, upload_files=None): """Lädt die zuletzt lokal geschriebenen Dateien zu allen aktiven Fernzielen hoch.""" - targets = [t for t in cfg.get('upload_targets', []) if t.get('enabled')] + # Frische Config laden damit zwischenzeitliche Änderungen (z.B. Deaktivierung) berücksichtigt werden + current_cfg = load_cfg() + targets = [t for t in current_cfg.get('upload_targets', []) if t.get('enabled')] if not targets: return diff --git a/version.txt b/version.txt index 260e057..b02cc8f 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.61 \ No newline at end of file +1.0.62 \ No newline at end of file