mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
fix_asm.py fix
This commit is contained in:
parent
5f32282e6f
commit
aec4570d19
@ -43,6 +43,10 @@ for root, dirs, files in os.walk(asm_dir):
|
||||
dumb_split = file.split("_")
|
||||
if len(dumb_split) > 2:
|
||||
file_num = dumb_split[1]
|
||||
try:
|
||||
test = int(file_num, 16)
|
||||
except ValueError:
|
||||
file_num = ""
|
||||
else:
|
||||
file_num = ""
|
||||
with open(os.path.join(root, file)) as f:
|
||||
|
Loading…
Reference in New Issue
Block a user