logic handling of timestamp in constructor tweaked

pull/1394/head
Chris Caron 2025-08-17 12:40:27 -04:00
parent 9ba579e813
commit 9d73e58500
1 changed files with 2 additions and 1 deletions

View File

@ -430,9 +430,10 @@ class NotifySlack(NotifyBase):
self.template_args["footer"]["default"] \
if include_footer is None else include_footer
# timestamp inclusion (only applicable if footer also defined
self.include_timestamp = \
self.template_args["timestamp"]["default"] \
if include_timestamp is None and self.include_footer \
if include_timestamp is None \
else include_timestamp
return