Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhea committed Dec 16, 2024
1 parent 9d0f136 commit 3ac5231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flipjump/interpretter/fjm_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def print(
output_str = f"Program's output before it was terminated: {output_to_print!r}\n\n"

termination_cause_str = str(self.termination_cause)
if self.termination_cause == TerminationCause.RuntimeMemoryError:
if self.memory_error_address is not None:
termination_cause_str += f" (address {hex(self.memory_error_address)})"
print(
f'\n'
Expand Down

0 comments on commit 3ac5231

Please sign in to comment.