summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/main.cc b/sim/main.cc
index 8b9f0fa43..163c835ee 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -369,7 +369,7 @@ main(int argc, char **argv)
}
}
- if (python_initialized && finishPythonConfig(simConfigDB)) {
+ if (python_initialized && !finishPythonConfig(simConfigDB)) {
cprintf("Error processing python code\n");
exit(1);
}