From a09a06a5724dde0fba06ca3f97f72234323140a8 Mon Sep 17 00:00:00 2001 From: Lars Bo Rasmussen Date: Tue, 17 Dec 2024 21:12:23 +0000 Subject: [PATCH] debugging --- plugins/chatgpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chatgpt.py b/plugins/chatgpt.py index d65d59e..1b8d868 100644 --- a/plugins/chatgpt.py +++ b/plugins/chatgpt.py @@ -416,7 +416,7 @@ def scan_files(): for root, _, filenames in os.walk("/app"): for filename in filenames: filepath = os.path.join(root, filename) - if "/venv/" not in filepath and not any(filepath.endswith(x) for x in ["run.sh", "main.py"]): + if "/venv/" not in filepath and not any(filepath.endswith(x) for x in ["run.sh"]): try: mime_type = mime.from_file(filepath) with open(filepath, "rb") as f: