Skip to content

Commit 5da0857

Browse files
andersktimabbott
authored andcommitted
zephyr_mirror_backend: Add missing parens for calling lower().
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent ffb8a38 commit 5da0857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/integrations/zephyr/zephyr_mirror_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def process_notice(notice: "zephyr.ZNotice", log: Optional[IO[str]]) -> None:
475475

476476
# Add instances in for instanced personals
477477
if is_personal:
478-
if notice.cls.lower() != "message" and notice.instance.lower != "personal":
478+
if notice.cls.lower() != "message" and notice.instance.lower() != "personal":
479479
heading = f"[-c {notice.cls} -i {notice.instance}]\n"
480480
elif notice.cls.lower() != "message":
481481
heading = f"[-c {notice.cls}]\n"

0 commit comments

Comments
 (0)