fixed handling of missing foto upload

This commit is contained in:
2026-03-22 18:54:52 +01:00
parent 868c4c1880
commit a31105ff60

View File

@@ -141,7 +141,7 @@
"df['Nachname'] = df['Nachname'].str.strip()\n",
"df['rower'] = df.apply(evaluate_rower,axis=1,args=('rower',))\n",
"df['Telefonnummer'] = df.apply(extract_tel,axis=1,args=('Telefonnummer',))\n",
"df['Foto'] = df['Foto'].str.replace(' ','-')"
"df['Foto'] = df['Foto'].str.replace(' ','-').fillna('-')"
]
},
{
@@ -165,6 +165,8 @@
"\n",
" filename = row['Foto']\n",
"\n",
" if filename != '-':\n",
"\n",
" found_photo = False\n",
" i = 30\n",
" while found_photo is False:\n",