From 733f6f8f249728117071154f2c0bdbeaef61c92c Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Wed, 6 Nov 2019 15:58:03 -0500 Subject: [PATCH] Make the count a number because comparing NoneTypes and numbers isn't a thing in python 3. --- pavelib/quality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pavelib/quality.py b/pavelib/quality.py index b7df12cab7..0570cb646f 100644 --- a/pavelib/quality.py +++ b/pavelib/quality.py @@ -771,7 +771,7 @@ def _extract_missing_pii_annotations(filename): 2. A bool indicating whether the coverage is still below the threshold, and 3. The full report as a string. """ - uncovered_models = None + uncovered_models = 0 pii_check_passed = True if os.path.isfile(filename): with io.open(filename, 'r') as report_file: