mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Update viber.py
Address comments, remove inner try block.
This commit is contained in:
parent
276242d319
commit
af2842925f
@ -133,12 +133,8 @@ class ViberAnalyzer(general.AndroidComponentAnalyzer):
|
||||
attributes.add(BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_NAME.getTypeID(), self._PARSER_NAME, contacts_parser.get_contact_name()))
|
||||
artifact.addAttributes(attributes)
|
||||
|
||||
try:
|
||||
# Post the artifact to blackboard
|
||||
current_case.getBlackboard().postArtifact(artifact, self._PARSER_NAME)
|
||||
except Blackboard.BlackboardException as e:
|
||||
self.log(Level.WARNING, "Error adding viber contacts artifact to case database.", ex )
|
||||
self._logger.log(Level.WARNING, traceback.format_exc())
|
||||
|
||||
contacts_parser.close()
|
||||
except SQLException as ex:
|
||||
|
Loading…
x
Reference in New Issue
Block a user