Write correct statistics when saving data in the GUI client.

This commit is contained in:
Bastian Kleineidam 2012-04-11 21:53:15 +02:00
parent ae0bd406d4
commit 67b751f1c7
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,8 @@ Fixes:
lookup on Unix systems.
- checking: Fix CSV output with German locale.
Closes: SF bug #3516400
- checking: Write correct statistics when saving results in the GUI.
Closes: SF bug #3515980
Features:
- cgi: Added a WSGI script to replace the CGI script.

View file

@ -47,6 +47,8 @@ def urlsave (parent, config, urls):
for urlitem in urls:
do_print = True
logger.log_filter_url(urlitem.url_data, do_print)
# inject the saved statistics before printing them
logger.stats = config['logger'].stats
logger.end_output()