mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-22 10:29:25 +01:00
startwith
-> startswith
This commit is contained in:
parent
61d9596d35
commit
e7b076aa44
@ -258,7 +258,7 @@ class Servers(registry.SpaceSeparatedListOfStrings):
|
||||
(server, port) = s.rsplit(':', 1)
|
||||
|
||||
# support for `[ipv6]:port` format
|
||||
if server.startwith("[") and server.endswith("]"):
|
||||
if server.startswith("[") and server.endswith("]"):
|
||||
server = server[1:-1]
|
||||
|
||||
port = int(port)
|
||||
|
Loading…
Reference in New Issue
Block a user