From ed3006677fd2795e96a5956c179dd94a146b7e1c Mon Sep 17 00:00:00 2001 From: Gene Johnson Date: Sat, 14 Mar 2026 18:28:15 -0700 Subject: [PATCH] refactor: Declare `_ntfy_message` as global within the `stream` function. --- mainline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mainline.py b/mainline.py index c377492..2dfd9eb 100755 --- a/mainline.py +++ b/mainline.py @@ -795,6 +795,7 @@ def _firehose_line(items, w): def stream(items): + global _ntfy_message random.shuffle(items) pool = list(items) seen = set()