Skip to content

Commit f3419ca

Browse files
fix linting issue
1 parent 95c3d74 commit f3419ca

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

zulipterminal/ui_tools/views.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ def streams_view(self) -> Any:
846846
self.view.stream_w = StreamsView(streams_btn_list, self.view)
847847
w = urwid.LineBox(
848848
self.view.stream_w,
849-
title="Channels",
849+
title="Streams",
850850
title_attr="column_title",
851851
tlcorner=COLUMN_TITLE_BAR_LINE,
852852
tline=COLUMN_TITLE_BAR_LINE,
@@ -914,7 +914,7 @@ def show_topic_view(self, stream_button: Any) -> None:
914914
)
915915

916916
def keypress(self, size: urwid_Size, key: str) -> Optional[str]:
917-
if is_command_key("SEARCH_CHANNELS", key) or is_command_key(
917+
if is_command_key("SEARCH_STREAMS", key) or is_command_key(
918918
"SEARCH_TOPICS", key
919919
):
920920
self.focus_position = 1
@@ -1116,8 +1116,6 @@ def __init__(
11161116
else []
11171117
)
11181118

1119-
print(self.feature_level_content)
1120-
11211119
contents = [
11221120
("Application", [("Zulip Terminal", zt_version)]),
11231121
("Server", [("Version", server_version)] + self.feature_level_content),
@@ -1424,14 +1422,14 @@ def __init__(self, controller: Any, stream_id: int) -> None:
14241422
if stream["history_public_to_subscribers"]
14251423
else "Not Public to Users"
14261424
)
1427-
member_keys = ", ".join(map(repr, display_keys_for_command("CHANNEL_MEMBERS")))
1425+
member_keys = ", ".join(map(repr, display_keys_for_command("STREAM_MEMBERS")))
14281426

14291427
self._stream_email = controller.model.get_stream_email_address(stream_id)
14301428
if self._stream_email is None:
14311429
stream_copy_text = "< Stream email is unavailable >"
14321430
else:
14331431
email_keys = ", ".join(
1434-
map(repr, display_keys_for_command("COPY_CHANNEL_EMAIL"))
1432+
map(repr, display_keys_for_command("COPY_STREAM_EMAIL"))
14351433
)
14361434
stream_copy_text = f"Press {email_keys} to copy Stream email address"
14371435

@@ -2177,4 +2175,4 @@ def keypress(self, size: urwid_Size, key: str) -> str:
21772175
self.controller.exit_editor_mode()
21782176
self.controller.exit_popup()
21792177
return key
2180-
return super().keypress(size, key)
2178+
return super().keypress(size, key)

0 commit comments

Comments
 (0)