Commit 8bbc954e1d47149a55e6d2684169098bd059f046
1 parent
5f62a7ac
Exists in
master
and in
39 other branches
Fixed code style
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
colab/search/utils.py
... | ... | @@ -21,7 +21,8 @@ def get_collaboration_data(filter_by_user=None): |
21 | 21 | count_types[_('Emails')] = Thread.objects.count() |
22 | 22 | |
23 | 23 | if filter_by_user: |
24 | - messages = Message.objects.filter(from_address__user__pk=filter_by_user.pk) | |
24 | + messages = Message.objects.filter( | |
25 | + from_address__user__pk=filter_by_user.pk) | |
25 | 26 | else: |
26 | 27 | latest_threads = Thread.objects.all()[:6] |
27 | 28 | messages = [t.latest_message for t in latest_threads] | ... | ... |