From 08249697d409ed1814617bd030c942eff74a0808 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 12 Sep 2012 20:44:10 +0200 Subject: tracking: Always announce delivered packages. --- modules/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/tracking.py b/modules/tracking.py index 0e5ab5a..1a7b300 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -449,7 +449,7 @@ class Module: package.last = last package.status = desc session.add(package) - if announce: + if announce or removed: self.irc.msg(target, msg) elif package.last != None and package.last < datetime.datetime.utcnow() - datetime.timedelta(hours = 24*30): msg = '%s: Removing stale package %s' % (consignment.nick.encode('utf-8'), consignment) -- cgit v1.2.3