@@ -11,7 +11,6 @@ port = 9999
status = 0 # 1连接 0失败
# 从同目录下读取props.properties文件,获取配置(ip、port)信息
with open("props.properties", "r") as f:
- global ip, port
props = f.readlines()
for prop in props:
if prop.startswith("ip"):