From b67c5b56bd0a361c7dd3e3216e74bb5f9eed9864 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 14 Aug 2024 10:22:18 +0100 Subject: [PATCH] Debug --- daemon_get_vcard.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/daemon_get_vcard.py b/daemon_get_vcard.py index 104b3c02c..9988327f9 100644 --- a/daemon_get_vcard.py +++ b/daemon_get_vcard.py @@ -37,9 +37,8 @@ def show_vcard(self, base_dir: str, path: str, calling_domain: str, 'application/vcard+xml' ) if not string_contains(accept_str, vcard_mime_types): - if '.vcf' in path: - print('WARN: vcard is not of an expected mime type: ' + - accept_str + ' ' + path) + print('WARN: vcard is not of an expected mime type: ' + + accept_str + ' ' + path) return False if path.startswith('/@'): if '/@/' not in path: