Script failed when Callers Number was empty i.e. NoneType. Put a['Number'] into str() fixed this.
This commit is contained in:
parent
63a3dee8fd
commit
f537edc4cb
|
@ -124,7 +124,7 @@ def fritzab2matrix(tam):
|
||||||
for a in messages:
|
for a in messages:
|
||||||
|
|
||||||
# format the information regarding the message
|
# format the information regarding the message
|
||||||
msg_info = a['Date'] + " - " + a['Number']
|
msg_info = a['Date'] + " - " + str(a['Number'])
|
||||||
if a['Name']:
|
if a['Name']:
|
||||||
msg_info += " (" + a['Name'] + ") "
|
msg_info += " (" + a['Name'] + ") "
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue