aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/formats.py
diff options
context:
space:
mode:
Diffstat (limited to 'idatui/formats.py')
-rw-r--r--idatui/formats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/idatui/formats.py b/idatui/formats.py
index f09bb99..d3d2abd 100644
--- a/idatui/formats.py
+++ b/idatui/formats.py
@@ -60,7 +60,7 @@ def sniff(path: str) -> str | None:
if not head:
return None
for magic, off, name in _MAGIC:
- if head[off:off + len(magic)] == magic:
+ if head[off : off + len(magic)] == magic:
return name
# Only treat a text prefix as a format if the whole head is printable —
# a raw blob starting with 0x3a (':') is far more likely than Intel HEX.