Skip to content

Commit

Permalink
fix for tinode#229 part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Apr 15, 2019
1 parent 0dcfcb8 commit 2558db9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ A text-only [command line client](./tn-cli) implements every possible command.
* Hot standby.
* Different levels of message persistence (from strict persistence to "store until delivered" to purely ephemeral messaging).

## Other

Demo avatars and some other graphics are from https://www.pexels.com/ under [CC0 license](https://www.pexels.com/photo-license/).

Background patterns from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution.


## Screenshots

### Android
Expand Down
2 changes: 1 addition & 1 deletion tn-cli/tn-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def print_server_params(params):
if args.login_token:
"""Use token to login"""
schema = 'token'
secret = args.login_token.encode('acsii')
secret = args.login_token.encode('ascii')
printout("Logging in with token", args.login_token)

elif args.login_basic:
Expand Down

0 comments on commit 2558db9

Please sign in to comment.