fix no tool issue

This commit is contained in:
saidsurucu
2025-07-21 23:05:27 +03:00
parent 673f996f5f
commit 364f3761d7
2 changed files with 20 additions and 5 deletions
+4
View File
@@ -2156,6 +2156,10 @@ def ensure_playwright_browsers():
logger.warning("KIK tool may not work properly. Manual installation: 'playwright install chromium'")
def main():
# Initialize the app properly with create_app()
global app
app = create_app()
logger.info(f"Starting {app.name} server via main() function...")
logger.info(f"Logs will be written to: {LOG_FILE_PATH}")