Skip to content

Commit

Permalink
Merge pull request #11 from DimChris0/patch-1
Browse files Browse the repository at this point in the history
Fixes a str.format syntax bug
  • Loading branch information
jedmitten committed Dec 11, 2017
2 parents 605f091 + 7c8e2c9 commit 712247f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/openioc_to_yara/openioc_to_yara.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def emit_yara(self):
strings_list = self.get_yara_stringlist(iocid)
condition_string = self.get_yara_condition(iocid)
except YaraConversionError:
log.exception('Failed to parse [[}]'.format(iocid))
log.exception('Failed to parse [{}]'.format(iocid))
continue
# extract an entire yara signatures embedded in Yara/Yara nodes
embedded_signatures = self.get_embedded_yara(iocid)
Expand Down

0 comments on commit 712247f

Please sign in to comment.