Browse Source

读取配制文件方法更新

alex 1 year ago
parent
commit
a26af1112e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      yyyy_js/python-server/WebServer.py

+ 0 - 1
yyyy_js/python-server/WebServer.py

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