Skip to content

Commit

Permalink
Tools: fix Indentation contains mixed spaces and tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Aug 31, 2023
1 parent 2a78c9f commit e4e32e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/scripts/apj_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def find(self):
magic_str = "PARMDEF".encode('ascii')
param_magic = [ 0x55, 0x37, 0xf4, 0xa0, 0x38, 0x5d, 0x48, 0x5b ]
def u_ord(c):
return ord(c) if sys.version_info.major < 3 else c
return ord(c) if sys.version_info.major < 3 else c

while True:
i = self.firmware[self.offset:].find(magic_str)
Expand Down

0 comments on commit e4e32e9

Please sign in to comment.