X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/SVBaL.git/blobdiff_plain/3e73f6819a9773cff79837229bece3b4e27f88ee..9ed8594047c54ebef5d0675e9896d49cc2b0374a:/python/eh_util/eh_app/AWK/routines.py diff --git a/python/eh_util/eh_app/AWK/routines.py b/python/eh_util/eh_app/AWK/routines.py index fffbfaa..9fccdc7 100644 --- a/python/eh_util/eh_app/AWK/routines.py +++ b/python/eh_util/eh_app/AWK/routines.py @@ -9,6 +9,7 @@ def handle_uploaded_file(csv_file): for chunk in csv_file.chunks(): destination.write(chunk) ''' + def aktualisiere_config(config, data, file): if file: @@ -19,10 +20,10 @@ def aktualisiere_config(config, data, file): for chunk in file.chunks(): destination.write(chunk) config.setConfig("briefpapier", uploaded_file) - + if data["vorlage"]: + config.setConfig("vorlage", data["vorlage"]) if data["basisbeitrag"]: config.setConfig("beitrag_basis", data["basisbeitrag"]) - if data["zusatzbeitrag"]: config.setConfig("beitrag_zusatz", data["zusatzbeitrag"])