aboutsummaryrefslogtreecommitdiffstats
path: root/servo/management
diff options
context:
space:
mode:
Diffstat (limited to 'servo/management')
-rwxr-xr-xservo/management/commands/cron.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/servo/management/commands/cron.py b/servo/management/commands/cron.py
index fc6c4ce..d1b2806 100755
--- a/servo/management/commands/cron.py
+++ b/servo/management/commands/cron.py
@@ -116,7 +116,8 @@ class Command(BaseCommand):
subject = _(u"Products stocked below limit")
if Configuration.notify_location():
- send_table(sender, l.email, subject, table)
+ email = l.manager.email if l.manager else l.email
+ send_table(sender, email, subject, table)
if Configuration.notify_email_address():
send_table(sender, conf['notify_address'], subject, table)