Module: check_mk
Branch: master
Commit: 9604ebabe4180c4fbc8fe88c4a95c73ad78b9c5a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9604ebabe4180c…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jun 26 09:45:42 2017 +0200
Fixed usage of render_a
Change-Id: Ie9dda48f7069a9758a09123d531d1ebf145cbfb0
---
web/htdocs/logwatch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/logwatch.py b/web/htdocs/logwatch.py
index e2feb0b..06ffe7b 100644
--- a/web/htdocs/logwatch.py
+++ b/web/htdocs/logwatch.py
@@ -130,7 +130,7 @@ def list_logs(site, host_name, logfile_names):
table.row()
file_display = form_file_to_ext(file_name)
uri = html.makeuri([('site', site), ('host', host_name),
('file', file_display)])
- logfile_link = html.render_a(file_display, url=uri)
+ logfile_link = html.render_a(file_display, href=uri)
try:
log_chunks = parse_file(site, host_name, file_name)