recalculating only the new hanchans shoud do the trick now.

the racalc cronjob reports erronous partly recalculations now.
A lot of code cleanups
This commit is contained in:
2017-11-01 09:53:52 +01:00
parent 42a6ebedf9
commit abeb86d48f
15 changed files with 87 additions and 62 deletions

View File

@@ -50,7 +50,6 @@ class MassMailer(object):
LOGGER.warning('%s is not a User Object!', recipient)
continue
mail_context['recipient'] = recipient
print(recipient.__dict__)
mail_to = "{first_name!s} {last_name!s} <{email!s}>".format(
**recipient.__dict__)
message = django.core.mail.EmailMultiAlternatives(