Update server5.py
Browse files- server5.py +1 -0
server5.py
CHANGED
|
@@ -706,6 +706,7 @@ config.set('general', 'monitor_port_enabled', 'True')
|
|
| 706 |
# 将配置写入到 'config.ini' 文件中
|
| 707 |
with open('/config.ini', 'w') as configfile:
|
| 708 |
config.write(configfile)
|
|
|
|
| 709 |
if os.path.exists(f'{data_folder}/start.sh'):
|
| 710 |
replace_info_in_file(f'{data_folder}/public/login.html')
|
| 711 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|
|
|
|
| 706 |
# 将配置写入到 'config.ini' 文件中
|
| 707 |
with open('/config.ini', 'w') as configfile:
|
| 708 |
config.write(configfile)
|
| 709 |
+
|
| 710 |
if os.path.exists(f'{data_folder}/start.sh'):
|
| 711 |
replace_info_in_file(f'{data_folder}/public/login.html')
|
| 712 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|