1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-25 17:40:31 +00:00

fix admin view of error log

This commit is contained in:
Ghighi Eftimie 2020-01-26 20:53:03 +02:00
parent 594c8aad91
commit 647e954e8a

View File

@ -672,7 +672,7 @@ def view_logfile():
logfiles[0] = logger.get_logfile(config.config_logfile)
logfiles[1] = logger.get_accesslogfile(config.config_access_logfile)
return render_title_template("logviewer.html",title=_(u"Logfile viewer"), accesslog_enable=config.config_access_log,
logfiles=logfiles, page="logfile")
log_enable=True, logfiles=logfiles, page="logfile")
@admi.route("/ajax/log/<int:logtype>")