mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-01 05:49:58 +00:00
Success message after database change
This commit is contained in:
parent
1aca1b9fdd
commit
1833e8fdb4
@ -1307,6 +1307,8 @@ def _db_configuration_result(error_flash=None, gdrive_error=None):
|
|||||||
log.error(error_flash)
|
log.error(error_flash)
|
||||||
config.load()
|
config.load()
|
||||||
flash(error_flash, category="error")
|
flash(error_flash, category="error")
|
||||||
|
elif request.method == "POST" and not gdrive_error:
|
||||||
|
flash(_("Database Settings updated"), category="success")
|
||||||
|
|
||||||
return render_title_template("config_db.html",
|
return render_title_template("config_db.html",
|
||||||
config=config,
|
config=config,
|
||||||
|
Loading…
Reference in New Issue
Block a user