Skip to content
Snippets Groups Projects
Unverified Commit a70a4be2 authored by Marco Ciotola's avatar Marco Ciotola
Browse files

Restore functionality of extract-passwords-for-email

parent dda86f90
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,16 @@
# python extract-passwords-for-email.py <election_uuid> <email_address>
#
from django.core.management import setup_environ
import settings, sys, csv
import sys
setup_environ(settings)
import csv
import django
import os
from helios.models import *
from helios.models import Election
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
django.setup()
election_uuid = sys.argv[1]
email = sys.argv[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment