Script failed when Callers Number was empty i.e. NoneType. Put a['Number'] into str() fixed this.
This commit is contained in:
1 parent
63a3dee8fd
commit
f537edc4cb
1 file changed
+1
-1
+1
-1
@@ -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'] + ") "
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user