Skip to content

Commit

Permalink
fix format string
Browse files Browse the repository at this point in the history
  • Loading branch information
colton-gabertan committed Aug 8, 2023
1 parent f000ae8 commit e512d21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capa/ghidra/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# file type as returned by Ghidra
SUPPORTED_FILE_TYPES = ("Executable and Linking Format (ELF)", "Portable Executable (PE)", "Raw Binary")


class GHIDRAIO:
"""
An object that acts as a file-like object,
Expand Down Expand Up @@ -62,7 +63,7 @@ def is_supported_ghidra_version():
if version < 10.2:
warning_msg = "capa does not support this Ghidra version"
logger.warning(warning_msg)
logger.warning(f"Your Ghidra version is: %s. Supported versions are: Ghidra >= 10.2", version)
logger.warning("Your Ghidra version is: %s. Supported versions are: Ghidra >= 10.2", version)
return False
return True

Expand Down

0 comments on commit e512d21

Please sign in to comment.