From 26a30797d2ec6da114948eda4d26d5d07f4a72d8 Mon Sep 17 00:00:00 2001 From: Fletcher Date: Thu, 12 Dec 2024 22:24:50 +0800 Subject: [PATCH] Shift/remove debug messages --- slack_app.py | 3 +-- util/taiga_links.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/slack_app.py b/slack_app.py index 2593d67..f99f6b7 100644 --- a/slack_app.py +++ b/slack_app.py @@ -381,8 +381,6 @@ def handle_link_unfurls(body): "image_url" ] = "https://replicate.delivery/pbxt/JF3foGR90vm9BXSEXNaYkaeVKHYbJPinmpbMFvRtlDpH4MMk/out-0-1.png" - pprint(final_info) - try: app.client.chat_unfurl( source=body["event"]["source"], @@ -392,6 +390,7 @@ def handle_link_unfurls(body): except SlackApiError as e: logger.error(f"Failed to unfurl links: {e.response['error']}") logger.error(e.response["response_metadata"]["messages"]) + pprint(final_info) # Command listener for form selection diff --git a/util/taiga_links.py b/util/taiga_links.py index 09ce61e..871d7aa 100644 --- a/util/taiga_links.py +++ b/util/taiga_links.py @@ -37,7 +37,6 @@ def get_info_from_url(url: str, taiga_auth_token: str, taiga_cache: dict, config return None, None, None elif len(parts) < 3: return None, None, None - pprint(parts) project_slug = parts[1] item_type = parts[2]