fix(commands|Network>iplocalise): close #6
This commit is contained in:
parent
0687ee3f06
commit
45d4aa1dc5
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class IPVersionConverter(commands.Converter):
|
|||
if not argument:
|
||||
return argument
|
||||
|
||||
argument = argument.replace("-", "").replace("p", "").replace("v", "")
|
||||
argument = argument.replace("-", "").replace("ip", "").replace("v", "")
|
||||
|
||||
if argument not in ["4", "6"]:
|
||||
raise InvalidIp(_("Invalid ip version"))
|
||||
|
|
Loading…
Reference in a new issue