From f4846c88c9f281daf43dc4246bf3ea10c44e9dcc Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Fri, 29 Jun 2018 11:12:54 +0100 Subject: [PATCH] Had to move the import to the method rather than the top of the file. --- app/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/commands.py b/app/commands.py index e3f1a9923..b130d97a8 100644 --- a/app/commands.py +++ b/app/commands.py @@ -33,7 +33,6 @@ from app.dao.services_dao import ( dao_fetch_service_by_id ) from app.dao.users_dao import (delete_model_user, delete_user_verify_codes) -from app.invite.rest import create_invited_user from app.models import PROVIDERS, User, SMS_TYPE, EMAIL_TYPE, Notification from app.performance_platform.processing_time import (send_processing_time_for_start_and_end) from app.utils import ( @@ -641,7 +640,7 @@ def bulk_invite_user_to_service(file_name, service_id, user_id, auth_type, permi # platform_admin # view_activity # "send_texts,send_emails,send_letters,view_activity" - + from app.invite.rest import create_invited_user file = open(file_name) for email_address in file: data = {