diff --git a/direct/src/directnotify/Notifier.py b/direct/src/directnotify/Notifier.py index 76737c8982..5b1508fa99 100644 --- a/direct/src/directnotify/Notifier.py +++ b/direct/src/directnotify/Notifier.py @@ -17,6 +17,10 @@ class Notifier: # particularly useful for integrating the Python notify system # with the C++ notify system. streamWriter = None + if ConfigVariableBool('notify-integrate', True): + from libpandaexpress import StreamWriter, Notify + streamWriter = StreamWriter(Notify.out(), False) + showTime = ConfigVariableBool('notify-timestamp', False) def __init__(self, name, logger=None):