mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-02 03:05:30 +00:00
Optional address in SMS serialize
This commit is contained in:
parent
fbf510567c
commit
e875c978c9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user