Update network.py

This commit is contained in:
qiaofeng1227 2023-02-23 12:10:07 +08:00 committed by GitHub
parent add952145e
commit 07b6a3fea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
import os, io, sys, platform, shutil, time, json, datetime
from api.utils import shell_execute
# 根据.env文件提供的port判断是否启动
# 根据.env文件提供的port找出能正常启动的最小port
def get_start_port(port):
print("目前检查"+port+"是否被占用")
use_port = port