From a6e000bc8921935f51f01cd3861ccbb853957ed9 Mon Sep 17 00:00:00 2001 From: sebclem Date: Thu, 4 Apr 2024 13:06:31 +0200 Subject: [PATCH] Update templates/app.ini.j2 --- templates/app.ini.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index f3b4257..60782ac 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -6,9 +6,11 @@ RUN_USER = {{ gitea_run_user }} {% for section in gitea_config %} [{{ section }}] +{% if gitea_config[section] is not none %} {% for entry, value in gitea_config[section].items() %} {{ entry }} = {{ value }} {% endfor %} +{% endif %} {% endfor %} \ No newline at end of file