Revision 5ce3ce4f snf-astakos-app/astakos/im/endpoints/aquarium/consumer.py
b/snf-astakos-app/astakos/im/endpoints/aquarium/consumer.py | ||
---|---|---|
40 | 40 |
|
41 | 41 |
from astakos.im.models import AstakosUser |
42 | 42 |
|
43 |
|
|
43 | 44 |
def on_creditevent(msg): |
44 | 45 |
""" |
45 | 46 |
Queue handler for updating AstakosUser has_credits |
... | ... | |
51 | 52 |
user.has_credits = has_credits |
52 | 53 |
user.save() |
53 | 54 |
except BaseException, e: |
54 |
logger.exception(e) |
|
55 |
logger.exception(e) |
Also available in: Unified diff