Fix formatting in business licence expiration message

This commit is contained in:
Chriz
2025-12-10 19:36:54 +01:00
committed by GitHub
parent 3e6874472c
commit b0415ab57f

View File

@@ -540,7 +540,7 @@ class checkmk_checker(object):
if self._info.get("business_expire"):
_days = (self._info.get("business_expire") - datetime.now()).days
_date = self._info.get("business_expire").strftime("%d.%m.%Y")
return [f'P "Business Licence" expiredays={_days};;;30;60; Licence Expire: {_date}']
return [f'P "Business Licence" expiredays={_days};30;60; Licence Expire: {_date}']
return []
def check_label(self):