fix(web): 取消指定端口为必选项

This commit is contained in:
imgyh 2023-03-05 22:02:59 +08:00
parent 3c2ed3cd78
commit 1b85b19891

View File

@ -36,7 +36,7 @@ app.config['JSON_AS_ASCII'] = False
def argument():
parser = argparse.ArgumentParser(description='抖音去水印工具 使用帮助')
parser.add_argument("--port", "-p", help="Web端口",
type=int, required=True, default=5000)
type=int, required=False, default=5000)
args = parser.parse_args()
return args