1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-30 21:40:00 +00:00

Success message after database change

This commit is contained in:
Ozzie Isaacs 2021-06-12 08:48:55 +02:00
parent 1aca1b9fdd
commit 1833e8fdb4

View File

@ -1307,6 +1307,8 @@ def _db_configuration_result(error_flash=None, gdrive_error=None):
log.error(error_flash)
config.load()
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",
config=config,