Update pybullet.c

send output to stderr (pybullet build message), helps towards Issue #3131
This commit is contained in:
erwincoumans 2020-12-08 17:38:47 -08:00 committed by GitHub
parent 3e16c616d5
commit 87b633bb76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13066,7 +13066,7 @@ initpybullet(void)
SpamError = PyErr_NewException("pybullet.error", NULL, NULL);
Py_INCREF(SpamError);
PyModule_AddObject(m, "error", SpamError);
printf("pybullet build time: %s %s\n", __DATE__, __TIME__);
fprintf(stderr, "pybullet build time: %s %s\n", __DATE__, __TIME__);
Py_AtExit(b3pybulletExitFunc);