From 5da0857d51e9d38f17ad8874c593d13fc9bed1a1 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 24 Aug 2021 20:39:31 -0700 Subject: [PATCH] zephyr_mirror_backend: Add missing parens for calling lower(). Signed-off-by: Anders Kaseorg --- zulip/integrations/zephyr/zephyr_mirror_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip/integrations/zephyr/zephyr_mirror_backend.py b/zulip/integrations/zephyr/zephyr_mirror_backend.py index 2d42335..6ab1537 100755 --- a/zulip/integrations/zephyr/zephyr_mirror_backend.py +++ b/zulip/integrations/zephyr/zephyr_mirror_backend.py @@ -475,7 +475,7 @@ def process_notice(notice: "zephyr.ZNotice", log: Optional[IO[str]]) -> None: # Add instances in for instanced personals if is_personal: - if notice.cls.lower() != "message" and notice.instance.lower != "personal": + if notice.cls.lower() != "message" and notice.instance.lower() != "personal": heading = f"[-c {notice.cls} -i {notice.instance}]\n" elif notice.cls.lower() != "message": heading = f"[-c {notice.cls}]\n"