diff --git a/panda/src/event/config_event.cxx b/panda/src/event/config_event.cxx index 202fa44b80..1b241f462d 100644 --- a/panda/src/event/config_event.cxx +++ b/panda/src/event/config_event.cxx @@ -49,7 +49,9 @@ ConfigureFn(config_event) { EventStoreWstring::init_type("EventStoreWstring"); EventStoreTypedRefCount::init_type(); GenericAsyncTask::init_type(); +#ifdef HAVE_PYTHON PythonTask::init_type(); +#endif ButtonEventList::register_with_read_factory(); EventStoreInt::register_with_read_factory();