mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-08 17:11:50 +02:00
Optional address in SMS serialize
This commit is contained in:
1 parent
fbf510567c
commit
e875c978c9
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class SMS(AndroidExtraction):
|
||||
"timestamp": record["isodate"],
|
||||
"module": self.__class__.__name__,
|
||||
"event": f"sms_{record['direction']}",
|
||||
"data": f"{record['address']}: \"{body}\""
|
||||
"data": f"{record.get('address', 'unknown source')}: \"{body}\""
|
||||
}
|
||||
|
||||
def check_indicators(self) -> None:
|
||||
|
||||
Reference in new issue
Block a user