Update script.py

This commit is contained in:
erew123 authored and GitHub committed 2024-01-10 18:10:42 +00:00
1 parent 3230397a82
commit e9d9f54de6
1 file changed
+3 -1
+3 -1
View File
@@ -237,10 +237,12 @@ process = subprocess.Popen(["python", script_path])
# Check if the subprocess has started successfully # Check if the subprocess has started successfully
if process.poll() is None: if process.poll() is None:
print(f"[{params['branding']}Startup] TTS Subprocess starting") print(f"[{params['branding']}Startup] TTS Subprocess starting")
print(f"[{params['branding']}Startup]")
print( print(
f"[{params['branding']}Startup] Readme available here:", f"[{params['branding']}Startup] web interface here:",
f"http://{params['ip_address']}:{params['port_number']}", f"http://{params['ip_address']}:{params['port_number']}",
) )
print(f"[{params['branding']}Startup]")
else: else:
print( print(
f"[{params['branding']}Startup] \033[91mWarning\033[0m TTS Subprocess Webserver failing to start process" f"[{params['branding']}Startup] \033[91mWarning\033[0m TTS Subprocess Webserver failing to start process"