From 5a0d2cb23ec7af5db2d0c5d9cfa19a0d1c867a13 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 3 Jun 2024 15:35:50 +0300 Subject: [PATCH] fix 500 error --- files/helpers/alerts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index a4b4d19cd..8aa1a400c 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -279,6 +279,7 @@ def push_notif(uids, title, body, url_or_comment, chat_id=None): if not uids: return + uids = set(uids) if SITE == 'rdrama.net' and chat_id != 182: uids.discard(AEVANN_ID) uids.discard(147)