From 399b2b39c4c10896ce0c5f8013642176248f8a07 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Wed, 19 Jul 2023 18:35:23 +0530 Subject: [PATCH] return proper data type from symptomatic_international_traveller --- care/facility/models/patient_icmr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/care/facility/models/patient_icmr.py b/care/facility/models/patient_icmr.py index 660c6cfcfd..e2f0ac9752 100644 --- a/care/facility/models/patient_icmr.py +++ b/care/facility/models/patient_icmr.py @@ -225,7 +225,7 @@ def is_symptomatic(self): def symptomatic_international_traveller( self, ): - return ( + return bool( self.patient.countries_travelled and len(self.patient.countries_travelled) != 0 and (