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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Anders Kaseorg
						Anders Kaseorg