diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-31 16:02:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-31 16:02:54 +0300 |
commit | 702372f6c5c2ef8db0324df4eb83d9aee1eaebc3 (patch) | |
tree | 12da6094f6d577156c69ff258a46386a20440668 /source | |
parent | 619946253e5f2dbad8b4a564d3d489ce40eb9de2 (diff) |
Fix wrong format used in the recent python exit code commit
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index b947d55d2ff..ca8a9f8760d 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -1377,7 +1377,7 @@ static int run_python_file(int argc, const char **argv, void *data) bool ok; BPY_CTX_SETUP(ok = BPY_execute_filepath(C, filename, NULL)); if (!ok && python_exit_code_on_error) { - printf("\nError: script failed, file: '%s', exiting.\n", argv[1], python_exit_code_on_error); + printf("\nError: script failed, file: '%s', exiting with code %d.\n", argv[1], python_exit_code_on_error); exit(python_exit_code_on_error); } return 1; |