update for error resistance

This commit is contained in:
Yannik Schmidt
2021-09-13 19:08:59 +02:00
parent 468034c801
commit 792806838e
3 changed files with 26 additions and 5 deletions

View File

@@ -23,7 +23,11 @@
<tr>
<td style="line-height: 45px;"><a target="_blank" href="/get-file?basename={{ bd.docName }}">{{ bd.docName }}</a></td>
<td style="line-height: 45px;">{{ bd.location }}</td>
{% if bd.blowerdoorDate %}
<td style="line-height: 45px;">{{ bd.blowerdoorDate }}</td>
{% else %}
<td style="line-height: 45px;">0000 - Keine Informationen Gefunden</td>
{% endif %}
<td style="line-height: 45px;">{{ bd.customer }}</td>
<td style="line-height: 45px;">{{ bd.pdfDate.strftime("%Y/%m/%d") }}</td>
</tr>