Update server.py
Browse files
server.py
CHANGED
|
@@ -596,7 +596,7 @@ time.sleep(60)
|
|
| 596 |
check_api1()
|
| 597 |
|
| 598 |
if os.path.exists(f'{data_folder}/start.sh'):
|
| 599 |
-
|
| 600 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|
| 601 |
backup_thread = threading.Thread(target=repeat_task, daemon=True)
|
| 602 |
backup_thread.start()
|
|
|
|
| 596 |
check_api1()
|
| 597 |
|
| 598 |
if os.path.exists(f'{data_folder}/start.sh'):
|
| 599 |
+
replace_info_in_file(f'{data_folder}/public/login.html')
|
| 600 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|
| 601 |
backup_thread = threading.Thread(target=repeat_task, daemon=True)
|
| 602 |
backup_thread.start()
|