only define default ip once

This commit is contained in:
2025-07-07 19:39:16 -06:00
parent b4e4b689ea
commit 411f96dd87

View File

@ -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: