Skip to content

Commit

Permalink
Correct call to first()
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm222 committed Aug 15, 2021
1 parent 718e05a commit a9102b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djcyradm/management/commands/djcyradm_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def handle(self, *args, **options):
domain=Domains.objects.filter(
domain_name=settings.DJCYRADM_IMAP["CYRUS"]
["DOMAIN"]
.first())
).first()
)

user.save()
Expand Down

0 comments on commit a9102b6

Please sign in to comment.