(self, report)
return
Process hash data from VirusTotal.

        Args:
            report (dict): json report information

        Return: None
Process hash data from VirusTotal.
Process hash data from VirusTotal .
def _process_hashes(self, report):
        """
        Process hash data from VirusTotal.

        Args:
            report (dict): json report information

        Return: None
        """

        save = False
# SSDEEP stuff is not present in regular report
#        if self.obj.ssdeep != report['ssdeep']:
#            self.obj.ssdeep = report['ssdeep']
#            save = True
        if self.obj.sha1 != report['sha1']:
            self.obj.sha1 = report['sha1']
            save = True
        if self.obj.sha256 != report['sha256']:
            self.obj.sha256 = report['sha256']
            save = True

        if save:
            self.obj.save(username=self.current_task.user.username)
        return
def _process_hashes ( self , report ) : save = False # SSDEEP stuff is not present in regular report #        if self.obj.ssdeep != report['ssdeep']: #            self.obj.ssdeep = report['ssdeep'] #            save = True if self . obj . sha1 != report [ 'sha1' ] : self . obj . sha1 = report [ 'sha1' ] save = True if self . obj . sha256 != report [ 'sha256' ] : self . obj . sha256 = report [ 'sha256' ] save = True if save : self . obj . save ( username = self . current_task . user . username ) return