diff --git a/img/black.jpg b/img/black.jpg deleted file mode 100644 index 67fddf1..0000000 Binary files a/img/black.jpg and /dev/null differ diff --git a/pagebot.py b/pagebot.py index e466772..e58c061 100644 --- a/pagebot.py +++ b/pagebot.py @@ -117,8 +117,9 @@ if __name__ == "__main__": observer.start() ## Launch TTD - watchdog_thread = threading.Thread(target=launch_and_watch, args=(secrets_file.ttd_path,)) - watchdog_thread.start() + if (secrets_file.ttd_path != ""): + watchdog_thread = threading.Thread(target=launch_and_watch, args=(secrets_file.ttd_path,)) + watchdog_thread.start() ## initialize discord intents = discord.Intents.default()