From b4082fad6e18bc65969636f2102e6628de6416f8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 7 Aug 2022 02:43:14 +0200 Subject: [PATCH] ignore error 385 if not verbose --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index b70d046..6b714a3 100644 --- a/main.py +++ b/main.py @@ -157,6 +157,8 @@ class Listener(Stream): # https://developer.twitter.com/en/support/twitter-api/error-troubleshooting if error["code"] == 385: error["message"] = "Tweet supprimé ou auteur en privé/bloqué." + if not keys["VERBOSE"]: + pass print(f"{errorMessage[:-2]} ({error['code']}) ! {error['message']}") else: if keys["VERBOSE"]: