From 688cf81eb44c2575b464927da30d95e7c24eb757 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Feb 28 2018 14:16:57 +0000 Subject: updates2stable widget: don't show archived releases Fixes #596 --- diff --git a/hubs/widgets/workflow/updates2stable.py b/hubs/widgets/workflow/updates2stable.py index 19360e2..0656fb1 100644 --- a/hubs/widgets/workflow/updates2stable.py +++ b/hubs/widgets/workflow/updates2stable.py @@ -73,7 +73,8 @@ class GetPending(CachedFunction): update for update in data['updates'] if update['request'] is None and any([giveaway in comment['text'] - for comment in update['comments']]) + for comment in update['comments']]) and + update["release"]["state"] in ("current", "pending") ] # Stuff some useful information in there.