From 49383346e8619cb7e6690801d28ad57227f7488c Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 13 Jun 2022 17:16:21 +0800 Subject: [PATCH] Update setting.py --- setting.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setting.py b/setting.py index 0248aa7c4..dcf99c26c 100755 --- a/setting.py +++ b/setting.py @@ -30,6 +30,8 @@ mw_port = 7200 if os.path.exists("data/port.pl"): mw_port = mw.readFile('data/port.pl') mw_port.strip() +else: + mw.writeFile('data/port.pl', mw_port) bind = [] if os.path.exists('data/ipv6.pl'):