From: Michael Tremer Date: Tue, 18 Oct 2022 18:10:33 +0000 (+0000) Subject: repos: Fix rendering configuration file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60501074a0304323e793532efdaf1b3059ad9fde;p=pbs.git repos: Fix rendering configuration file Signed-off-by: Michael Tremer --- diff --git a/src/web/repos.py b/src/web/repos.py index 8eeb62a5..8af6a636 100644 --- a/src/web/repos.py +++ b/src/web/repos.py @@ -111,7 +111,8 @@ class ConfigHandler(BaseHandler): self.set_header("Content-Type", "text/plain") # Generate configuration - config = repo.get_config() + with self.db.transaction(): + config = repo._make_config() # Send it to the client self.finish(config)