Module: check_mk
Branch: master
Commit: 486a757da2eb4a472891baf4ef397bc047cd507a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=486a757da2eb4a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 31 17:42:22 2016 +0200
Fixed access to not existing variable
---
web/htdocs/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/mkeventd.py b/web/htdocs/mkeventd.py
index 557ec6c..2a3c3bd 100644
--- a/web/htdocs/mkeventd.py
+++ b/web/htdocs/mkeventd.py
@@ -302,7 +302,7 @@ def check_timeperiod(tpname):
return _("The timeperiod %s is currently not active" % tpname)
except Exception, e:
return _("Cannot update timeperiod information for %s: %s" % (tpname,
e))
- if opt_debug:
+ if config.debug:
raise
def match(pattern, text, complete = True):