Update server.py
Browse files
server.py
CHANGED
|
@@ -552,7 +552,7 @@ threading.Thread(target=SillyTavern, daemon=True).start()
|
|
| 552 |
time.sleep(60)
|
| 553 |
check_api1()
|
| 554 |
|
| 555 |
-
if os.path.exists(f'{data_folder}/start.sh):
|
| 556 |
replace_ip_and_country_in_file('/sillytavern/public/login.html')
|
| 557 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|
| 558 |
backup_thread = threading.Thread(target=repeat_task, daemon=True)
|
|
|
|
| 552 |
time.sleep(60)
|
| 553 |
check_api1()
|
| 554 |
|
| 555 |
+
if os.path.exists(f'{data_folder}/start.sh'):
|
| 556 |
replace_ip_and_country_in_file('/sillytavern/public/login.html')
|
| 557 |
# threading.Thread(target=repeat_task, daemon=True).start() #压缩备份
|
| 558 |
backup_thread = threading.Thread(target=repeat_task, daemon=True)
|