Skip to content

Commit

Permalink
Fix import of ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Aug 22, 2024
1 parent f07a43a commit 3740e8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ralph/accounts/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ class AccountsConfig(RalphAppConfig):

def ready(self):
super().ready()
import ralph.accounts.ldap # noqa
try:
import ralph.accounts.ldap # noqa
except ImportError:
pass

0 comments on commit 3740e8c

Please sign in to comment.