From 790eff0faa1b7955455fd4246b992c4b859fc4f3 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 13 Aug 2004 21:21:34 +0000 Subject: [PATCH] added default-directnotify-level --- direct/src/directnotify/DirectNotify.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/directnotify/DirectNotify.py b/direct/src/directnotify/DirectNotify.py index 1b04958078..21190646b8 100644 --- a/direct/src/directnotify/DirectNotify.py +++ b/direct/src/directnotify/DirectNotify.py @@ -73,6 +73,11 @@ class DirectNotify: dconfigParam = ("notify-level-" + categoryName) level = config.GetString(dconfigParam, "") + + if not level: + # see if there's an override of the default config level + level = config.GetString('default-directnotify-level', '') + if level: print ("Setting DirectNotify category: " + categoryName + " to severity: " + level)