From 96a4e1f5c27b8860ad6c14942eb905b41652bddf Mon Sep 17 00:00:00 2001
From: majmongoose <ceb5150@gmail.com>
Date: Fri, 25 Oct 2024 11:20:59 -0400
Subject: [PATCH] Revert "Update pagebot.py"

This reverts commit 43f8b3869e4da1bc9e79b15af542ea6209f56050.
---
 pagebot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pagebot.py b/pagebot.py
index 9e077a2..33ff8ac 100644
--- a/pagebot.py
+++ b/pagebot.py
@@ -99,7 +99,7 @@ def kill_existing_ttd_instances():
     """Terminate all running instances of TTD."""
     for proc in psutil.process_iter(['name', 'exe', 'cmdline']):
         try:
-            if 'twotone' in proc.name().lower() or 'twotone' in ' '.join(proc.cmdline()).lower():
+            if 'ttd' in proc.name().lower() or 'ttd' in ' '.join(proc.cmdline()).lower():
                 print("Terminating an existing instance of TTD...")
                 proc.terminate()  # Send SIGTERM
                 proc.wait()  # Wait for the process to terminate