Minor fixes

This commit is contained in:
Eliot Berriot 2018-09-25 22:52:09 +02:00
parent 84ed7e0b3a
commit 527edc1e1e
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 2 additions and 3 deletions

View file

@ -109,7 +109,7 @@ def set_fid(queryset, path, stdout):
def update_shared_inbox_url(stdout):
stdout.write("* Update shared inbox url for local actors...")
candidates = federation_models.Actor.objects.local().filter(shared_inbox_url=None)
candidates = federation_models.Actor.objects.local()
url = federation_models.get_shared_inbox_url()
candidates.update(shared_inbox_url=url)