diff --git a/examples/openioc_to_yara/openioc_to_yara.py b/examples/openioc_to_yara/openioc_to_yara.py index 871e7d1..935db51 100644 --- a/examples/openioc_to_yara/openioc_to_yara.py +++ b/examples/openioc_to_yara/openioc_to_yara.py @@ -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)