Skip to content
Browse files

fix (Unknown) in SMS backup & restore

  • Loading branch information...
1 parent dc709d8 commit c4f6b3853d36022b7a4f77d04686f47533ae1fae @alswl committed Jan 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 parser/sms_backup_and_restore_parser.py
View
2 parser/sms_backup_and_restore_parser.py
@@ -56,6 +56,8 @@ def process_block(self, node):
create_at = node.get('date')
name = node.get('contact_name')
+ if name == '(Unknown)':
+ name = None
if not type_text.isdigit() or \
not create_at.isdigit():
raise FormatError

0 comments on commit c4f6b38

Please sign in to comment.
Something went wrong with that request. Please try again.