only define default ip once
This commit is contained in:
parent
b4e4b689ea
commit
411f96dd87
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ def main() -> None:
|
||||||
"Pluto IP Address",
|
"Pluto IP Address",
|
||||||
"Enter Pluto IP Address",
|
"Enter Pluto IP Address",
|
||||||
QLineEdit.Normal,
|
QLineEdit.Normal,
|
||||||
"192.168.2.1",
|
Charon.DEFAULT_IP,
|
||||||
)
|
)
|
||||||
match = re.match(r"(\d{1,3}\.){3}\d{1,3}", text)
|
match = re.match(r"(\d{1,3}\.){3}\d{1,3}", text)
|
||||||
if not match:
|
if not match:
|
||||||
|
|
Loading…
Add table
Reference in a new issue