From a5b2eb6cd0472d83a8b0f37ddfa2b358cb5d31f4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 4 Jun 2022 13:53:14 +0100 Subject: [PATCH] Restore old behavior of showing error message --- twitfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitfix.py b/twitfix.py index 94ee12e..78a1edc 100644 --- a/twitfix.py +++ b/twitfix.py @@ -291,7 +291,7 @@ def embed_video(video_link, image=0): # Return Embed from any tweet link except Exception as e: print(e) - return redirect(video_link) #message(msgs) + return message(msgs.failedToScan) else: return embed(video_link, cached_vnf, image)