Skip to content

Commit

Permalink
Merge c22bc03 into 22d16b6
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Mar 10, 2019
2 parents 22d16b6 + c22bc03 commit 9eca45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioconsole/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run(host='localhost', port=8000):

def parse_server(server, parser=None):
try:
host, port = server.split(':')
host, port = server.rsplit(':', maxsplit=1)
except ValueError:
host, port = 'localhost', server
try:
Expand Down

0 comments on commit 9eca45d

Please sign in to comment.