zephyr_mirror_backend: Add missing parens for calling lower().
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
ffb8a38f26
commit
5da0857d51
|
@ -475,7 +475,7 @@ def process_notice(notice: "zephyr.ZNotice", log: Optional[IO[str]]) -> None:
|
||||||
|
|
||||||
# Add instances in for instanced personals
|
# Add instances in for instanced personals
|
||||||
if is_personal:
|
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"
|
heading = f"[-c {notice.cls} -i {notice.instance}]\n"
|
||||||
elif notice.cls.lower() != "message":
|
elif notice.cls.lower() != "message":
|
||||||
heading = f"[-c {notice.cls}]\n"
|
heading = f"[-c {notice.cls}]\n"
|
||||||
|
|
Loading…
Reference in a new issue