From 99aaf86b739b8b93ec0f133822753e8c5ea96e0e Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 19 May 2021 11:28:57 +0200 Subject: [fix] offline engines: fix templates /stats and /preferences --- searx/templates/simple/stats.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'searx/templates/simple/stats.html') diff --git a/searx/templates/simple/stats.html b/searx/templates/simple/stats.html index 67c9c79cc..7058d04d4 100644 --- a/searx/templates/simple/stats.html +++ b/searx/templates/simple/stats.html @@ -52,12 +52,11 @@ {%- endif -%} - {%- if engine_stat.total -%} - + {%- if engine_stat.total is not none -%}
{{- engine_stat.total | round(1) -}}
{{- "" -}}