Skip to content

Commit

Permalink
Merge 989ef74 into 3ff9f46
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Dec 10, 2019
2 parents 3ff9f46 + 989ef74 commit 7b73048
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions invitations/utils.py
@@ -1,6 +1,5 @@
from django.apps import apps as django_apps
from django.core.exceptions import ImproperlyConfigured
from django.utils import six

from .app_settings import app_settings

Expand All @@ -11,7 +10,7 @@


def import_attribute(path):
assert isinstance(path, six.string_types)
assert isinstance(path, str)
pkg, attr = path.rsplit('.', 1)
ret = getattr(importlib.import_module(pkg), attr)
return ret
Expand Down

0 comments on commit 7b73048

Please sign in to comment.