2
0
David Rose 13 жил өмнө
parent
commit
16c0690edb

+ 4 - 0
direct/src/directnotify/Notifier.py

@@ -17,6 +17,10 @@ class Notifier:
     # particularly useful for integrating the Python notify system
     # particularly useful for integrating the Python notify system
     # with the C++ notify system.
     # with the C++ notify system.
     streamWriter = None
     streamWriter = None
+    if ConfigVariableBool('notify-integrate', True):
+        from libpandaexpress import StreamWriter, Notify
+        streamWriter = StreamWriter(Notify.out(), False)
+        
     showTime = ConfigVariableBool('notify-timestamp', False)
     showTime = ConfigVariableBool('notify-timestamp', False)
 
 
     def __init__(self, name, logger=None):
     def __init__(self, name, logger=None):