Correct comment
This commit is contained in:
parent
96f66437d9
commit
7a374c645b
1 changed files with 2 additions and 2 deletions
4
mmcli.py
4
mmcli.py
|
@ -155,7 +155,7 @@ def resolve_team_channel(mm_api: mattermost.MMApi, query: str) -> Dict:
|
||||||
|
|
||||||
def login(mm_api, cmdline_args):
|
def login(mm_api, cmdline_args):
|
||||||
print(
|
print(
|
||||||
f"Logging in as {cmdline_args.login_id}; password provided: {yes_no(cmdline_args.password)}; "
|
f"Logging in as {cmdline_args.login_id!r}; password provided: {yes_no(cmdline_args.password)}; "
|
||||||
f"TOTP token provided: {yes_no(cmdline_args.totp)}",
|
f"TOTP token provided: {yes_no(cmdline_args.totp)}",
|
||||||
file=sys.stderr)
|
file=sys.stderr)
|
||||||
mm_api.login(cmdline_args.login_id, cmdline_args.password, cmdline_args.totp)
|
mm_api.login(cmdline_args.login_id, cmdline_args.password, cmdline_args.totp)
|
||||||
|
@ -240,7 +240,7 @@ def cat(mm_api: mattermost.MMApi, cmdline_args):
|
||||||
|
|
||||||
|
|
||||||
def ls(mm_api: mattermost.MMApi, cmdline_args):
|
def ls(mm_api: mattermost.MMApi, cmdline_args):
|
||||||
# TODO Doesn't work for channel creation and deletion yet
|
# TODO --follow doesn't work for channel creation and deletion yet
|
||||||
|
|
||||||
# In a list to allow overwriting from within print_initial_channels without using global
|
# In a list to allow overwriting from within print_initial_channels without using global
|
||||||
backlog = [ [] ]
|
backlog = [ [] ]
|
||||||
|
|
Loading…
Reference in a new issue