mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-26 14:28:54 +00:00
Fixed a typo and catching exception
This commit is contained in:
parent
c522b54326
commit
748780476e
|
@ -68,7 +68,7 @@ class ChromeHistory(AndroidExtraction):
|
||||||
"url": item[1],
|
"url": item[1],
|
||||||
"visit_id": item[2],
|
"visit_id": item[2],
|
||||||
"timestamp": item[3],
|
"timestamp": item[3],
|
||||||
"isodate": convert_timestamp_to_iso(convert_chrometime_to_unix[item[3]]),
|
"isodate": convert_timestamp_to_iso(convert_chrometime_to_unix(item[3])),
|
||||||
"redirect_source": item[4],
|
"redirect_source": item[4],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -85,4 +85,7 @@ class Whatsapp(AndroidExtraction):
|
||||||
self.results = messages
|
self.results = messages
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self._adb_process_file(os.path.join("/", WHATSAPP_PATH), self._parse_db)
|
try:
|
||||||
|
self._adb_process_file(os.path.join("/", WHATSAPP_PATH), self._parse_db)
|
||||||
|
except Exception as e:
|
||||||
|
self.log.error(e)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user