diff --git a/check_pve.py b/check_pve.py index 2fcd351..f18cae3 100755 --- a/check_pve.py +++ b/check_pve.py @@ -457,7 +457,7 @@ def check_subscription(self) -> None: message = f"{subscription_product_name} is valid until {subscription_due_date}" message_warning_critical = ( - "{subscription_product_name} will expire in {delta} days ({subscription_due_date})" + f"{subscription_product_name} will expire in {delta} days ({subscription_due_date})" ) self.check_thresholds( @@ -1120,7 +1120,7 @@ def parse_args(self) -> None: p.print_usage() message = ( f"{p.prog}: error: --mode {options.mode} requires either " - "vm name (--name) or id (--vmid)", + "vm name (--name) or id (--vmid)" ) self.output(CheckState.UNKNOWN, message)