Files
@ eabd5a2fd0af
Branch filter:
Location: kallithea/scripts/pyflakes
eabd5a2fd0af
1.2 KiB
text/plain
config: set base_path config in set_app_settings using Ui.get_repos_location() instead of in app_cfg using make_ui()
Only hit the database once (when starting the application) to get this.
It would perhaps be more elegant to set it directly, for example in
kallithea.base_path ... but it seems like a setting that really belongs in the
.ini file ...
Only hit the database once (when starting the application) to get this.
It would perhaps be more elegant to set it directly, for example in
kallithea.base_path ... but it seems like a setting that really belongs in the
.ini file ...