diff --git a/utils/vcfGenerator.py b/utils/vcfGenerator.py index 6df1668..ff4cf9c 100644 --- a/utils/vcfGenerator.py +++ b/utils/vcfGenerator.py @@ -33,7 +33,7 @@ def generateVcard(row, headers, vCards): fields = fields.split(",") if fields else [] for field in fields: phone = row.get(field,"") - if phone: + if phone and phone.isnumeric(): telephone = vcard.add("tel") telephone.type_param = ["HOME"] telephone.value = phone