mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2025-12-17 08:38:11 +00:00
This works
This commit is contained in:
@@ -13,8 +13,8 @@ import requests
|
||||
from packaging.version import Version
|
||||
from tabulate import tabulate
|
||||
|
||||
from build_agent import build_agent_version
|
||||
from zeroconf_server import ZeroconfServer
|
||||
from .build_agent import build_agent_version
|
||||
from .zeroconf_server import ZeroconfServer
|
||||
|
||||
DEFAULT_PORT = 9001
|
||||
TIMEOUT = 10
|
||||
@@ -32,9 +32,9 @@ def find_server_ips():
|
||||
ZeroconfServer.stop()
|
||||
|
||||
# get known hosts
|
||||
with open("../known_hosts", "r") as file:
|
||||
lines = file.readlines()
|
||||
hostnames.extend(lines)
|
||||
# with open("../known_hosts", "r") as file:
|
||||
# lines = file.readlines()
|
||||
# hostnames.extend(lines)
|
||||
|
||||
return hostnames
|
||||
|
||||
|
||||
Reference in New Issue
Block a user