diff --git a/reports/statistics.py b/reports/statistics.py index 26e8637..4fa230f 100644 --- a/reports/statistics.py +++ b/reports/statistics.py @@ -289,9 +289,8 @@ def encryption_statistics(conn): COUNT(*) AS total - FROM access_points - - GROUP BY encryption + WHERE encryption IS NOT NULL + AND TRIM(encryption) != '' ORDER BY total DESC """