Skip to content

Commit

Permalink
Fix if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Dec 14, 2023
1 parent d119cc5 commit e23a76e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_multitenant/utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import inspect

from django.apps import apps
from django.conf import settings
from .settings import TENANT_USE_ASGIREF


if settings.TENANT_USE_ASGIREF:
if TENANT_USE_ASGIREF:
# asgiref must be installed, its included with Django >= 3.0
from asgiref.local import Local as local
else:
Expand Down

0 comments on commit e23a76e

Please sign in to comment.