Script failed when Callers Number was empty i.e. NoneType. Put a['Number'] into str() fixed this.

This commit is contained in:
Homer S. 2021-10-08 09:22:15 +02:00
parent 63a3dee8fd
commit f537edc4cb
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ def fritzab2matrix(tam):
for a in messages:
# format the information regarding the message
msg_info = a['Date'] + " - " + a['Number']
msg_info = a['Date'] + " - " + str(a['Number'])
if a['Name']:
msg_info += " (" + a['Name'] + ") "