The problem is the line:
Code: Select all
description = _('The {0} service').format(service.lstrip('rc.'))
Code: Select all
description = _('The {0} service').format(service[3:])
Why no one has discovered this before I do not know.
Regards Ingemar
Code: Select all
description = _('The {0} service').format(service.lstrip('rc.'))
Code: Select all
description = _('The {0} service').format(service[3:])