imporved contacs uploads

This commit is contained in:
2026-03-22 09:07:02 +01:00
parent 3a59c38ad6
commit 868c4c1880
2 changed files with 292 additions and 1 deletions

View File

@@ -136,6 +136,7 @@
" first_name = row['Vorname']\n",
" last_name = row['Nachname']\n",
" phone = row['Telefonnummer']\n",
" cat = 'RVV Trainer:innen'\n",
" org = 'Ruderverein Villach von 1881'\n",
" photo_b64 = get_photo_for_row(row)\n",
" \n",
@@ -143,8 +144,9 @@
" lines = [\n",
" \"BEGIN:VCARD\",\n",
" \"VERSION:3.0\",\n",
" f\"FN:{first_name} {last_name}\",\n",
" f\"FN:{last_name} {first_name}\",\n",
" f\"N:{last_name};{first_name};;;\",\n",
" f\"CATEGORIES:{cat}\",\n",
" f\"ORG:{org}\",\n",
" f\"TEL;TYPE=CELL:{phone}\"]\n",
"\n",