diff --git a/tasks.py b/tasks.py index 7deec3a983efced1851970ae9359b17d211862ae..6e6aad59ac1bba861f77d29b7928e0c39f7629c5 100644 --- a/tasks.py +++ b/tasks.py @@ -24,6 +24,6 @@ def celery_create_account(username, fullname, reason, session): print(time.strftime("%m-%d-%Y_%H:%M:%S") + '\tUser ' + username + ' added to queue') send_msg('creating account', room) print(username) - subprocess.call(["/opt/rabbitmq_agents/flask_producer.py", "ohpc_account_create", username]) + subprocess.call(["/opt/rabbitmq_agents/create_account.py", username, '', fullname, reason]) print(time.strftime("%m-%d-%Y_%H:%M:%S") + '\tAccount successfully created for ' + username) send_msg('account ready', room)