Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions django_contact_importer/contacts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from django.shortcuts import redirect, render_to_response
from django.conf import settings
from django.core.urlresolvers import reverse
from contact_importer.providers import (GoogleContactImporter,
YahooContactImporter,
LiveContactImporter)
from contact_importer.providers.google import GoogleContactImporter
from contact_importer.providers.yahoo import YahooContactImporter
from contact_importer.providers.live import LiveContactImporter

providers = {
"google": GoogleContactImporter,
Expand Down Expand Up @@ -66,4 +66,4 @@ def _get_provider_instance(provider, redirect_url):
raise Exception("The provider %s is not supported." % provider)

provider_class = providers[provider]
return provider_class(client_id, client_secret, redirect_url)
return provider_class(client_id, client_secret, redirect_url)