only define default ip once
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user