sobjects/supervising.py
branchstable
changeset 2102 268659907769
parent 2101 08003e0354a7
child 2144 51c84d585456
child 2195 58bef4f707ce
--- a/sobjects/supervising.py	Thu Jun 11 19:07:47 2009 +0200
+++ b/sobjects/supervising.py	Thu Jun 11 19:10:30 2009 +0200
@@ -226,7 +226,7 @@
         uinfo = {'email': config['sender-addr'],
                  'name': config['sender-name']}
         view = self._get_view()
-        content = view.render(changes=session.query_data('pendingchanges'))
+        content = view.render(changes=session.transaction_data.get('pendingchanges'))
         recipients = view.recipients()
         msg = format_mail(uinfo, recipients, content, view.subject(), config=config)
         self.to_send = [(msg, recipients)]