From 6b4a1713e103a5cdbf62a75b5671799f87455a48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 5 Feb 2021 02:52:08 +0100 Subject: [PATCH] fix: print tel without teltype --- cards/export_csv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cards/export_csv.sh b/cards/export_csv.sh index 6f17d1f..9ba8993 100755 --- a/cards/export_csv.sh +++ b/cards/export_csv.sh @@ -29,7 +29,7 @@ list_item() { ttype="$(pdi_attrib "$card" "$item" "$n" TYPE)" if [ "$tel" -a "$ttype" ]; then printf '%s: %s\n' "$(l10n "TYPE=$ttype")" "$tel" - elif [ "$tel" -a "$ttype" ]; then + elif [ "$tel" ]; then printf '%s\n' "$tel" fi ;; -- 2.39.2