From 7365ccb222a4903158043f9e2defbb508407788e Mon Sep 17 00:00:00 2001 From: davidvlaminck <“david.vlaminck@mow.vlaanderen.be”> Date: Thu, 7 Nov 2024 23:14:23 +0100 Subject: [PATCH] changed path for fetching latest OTL/GA from GitHub --- model_update/automatic_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model_update/automatic_update.py b/model_update/automatic_update.py index de9ecd4e0..0775253c2 100644 --- a/model_update/automatic_update.py +++ b/model_update/automatic_update.py @@ -22,7 +22,7 @@ except: download_otl_from_github = True if download_otl_from_github: - urllib.request.urlretrieve("https://github.com/davidvlaminck/OTLMOW-ModelBuilder/raw/master/otlmow_modelbuilder" + urllib.request.urlretrieve("https://github.com/davidvlaminck/OTLMOW-ModelBuilder/raw/master" "/InputFiles/latest/OTL.db", 'OTL.db') download_ga_from_github = False @@ -34,7 +34,7 @@ except: download_ga_from_github = True if download_ga_from_github: - urllib.request.urlretrieve("https://github.com/davidvlaminck/OTLMOW-ModelBuilder/raw/master/otlmow_modelbuilder" + urllib.request.urlretrieve("https://github.com/davidvlaminck/OTLMOW-ModelBuilder/raw/master" "/InputFiles/latest/Geometrie_Artefact.db", 'Geometrie_Artefact.db') urllib.request.urlretrieve("https://github.com/davidvlaminck/OTLMOW-ModelBuilder/raw/master/otlmow_modelbuilder"