Commit 05a6ba43 董杰

自动打开网址替换为smf

1 个父辈 9cde76cd
...@@ -105,7 +105,7 @@ def confirm_autostart(): ...@@ -105,7 +105,7 @@ def confirm_autostart():
result = re.findall(r"\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b", ip_config['ip']) result = re.findall(r"\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b", ip_config['ip'])
if result: if result:
ip = result[0] ip = result[0]
server_add = "http://{}/neotel".format(ip) server_add = "http://{}/smf".format(ip)
else: else:
server_add = "127.0.0.1:5000" server_add = "127.0.0.1:5000"
line1 = "Comment = star chrome and enter the website for \"{}\"".format(server_add) line1 = "Comment = star chrome and enter the website for \"{}\"".format(server_add)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!