changeset 9004 | a3594bf2b6bf |
parent 8933 | ac76925268a3 |
child 9005 | 63cf580accfc |
--- a/sobjects/notification.py Fri Jun 07 16:48:20 2013 +0200 +++ b/sobjects/notification.py Wed Jun 12 12:27:00 2013 +0200 @@ -119,7 +119,7 @@ for something in recipients: if isinstance(something, Entity): # hi-jack self._cw to get a session for the returned user - self._cw = Session(self._cw.repo, something) + self._cw = Session(something, self._cw.repo) emailaddr = something.cw_adapt_to('IEmailable').get_email() else: emailaddr, lang = something