Merge remote-tracking branch 'origin/main'

This commit is contained in:
Hosted Weblate 2021-11-23 19:32:54 +01:00
commit 4e8a1ee2c6
No known key found for this signature in database
GPG Key ID: A3FAAA06E6569B4C

6
main.c
View File

@ -858,7 +858,11 @@ int __attribute__((used)) main(void) {
serial_write_compressed(translate("soft reboot\n"));
}
first_run = false;
skip_repl = run_code_py(safe_mode);
if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
skip_repl = run_code_py(safe_mode);
} else {
skip_repl = false;
}
} else if (exit_code != 0) {
break;
}