fixed condition label expression leading to always be None (#81)

pull/86/head
Levente Polyak 10 years ago committed by Zach Riggle
parent 0174d52ada
commit 36a654856d

@ -59,7 +59,7 @@ def instruction(ins):
asm = asm.replace(ins.mnemonic, pwndbg.color.bold(ins.mnemonic)) asm = asm.replace(ins.mnemonic, pwndbg.color.bold(ins.mnemonic))
# If we know the conditional is taken, mark it as green. # If we know the conditional is taken, mark it as green.
if ins.codition is None: if ins.condition is None:
asm = ' ' + asm asm = ' ' + asm
elif ins.condition: elif ins.condition:
asm = pwndbg.color.green(u'') + asm asm = pwndbg.color.green(u'') + asm

Loading…
Cancel
Save