From 99af9f38f30abb378b3f9000e24428e3f1d94798 Mon Sep 17 00:00:00 2001 From: dispensable Date: Fri, 2 Jul 2021 16:16:22 +0800 Subject: [PATCH] Fix subject HeaderParseError (#43) * Fix subject HeaderParseError * Update setup.py --- sa_tools_core/templates/icinga/notification.mako | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sa_tools_core/templates/icinga/notification.mako b/sa_tools_core/templates/icinga/notification.mako index a7d82f6..2d0e460 100644 --- a/sa_tools_core/templates/icinga/notification.mako +++ b/sa_tools_core/templates/icinga/notification.mako @@ -2,7 +2,7 @@ ## TODO: use include mako page %if fragment_type == 'title': - ${plain_content(env, notify_type)} + ${title(env, notify_type)} %elif fragment_type == 'content': %if notify_type in ('email', 'pushover', 'sms', 'pushbullet'): ${plain_content(env, notify_type)} diff --git a/setup.py b/setup.py index 7786a0b..11cb486 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from io import open from setuptools import setup, find_packages -version = '0.4.2' +version = '0.4.3' requirements = [ 'setuptools',