to_csv email list encoding utf 8
This commit is contained in:
@@ -37,7 +37,7 @@ def getemails():
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
email_list = getemails()
|
||||
email_list.to_csv('email_list.csv')
|
||||
email_list.to_csv('email_list.csv',encoding='utf-8')
|
||||
|
||||
fullemail = 'roosendaalsander@gmail.com'
|
||||
subject = "Rowsandall users list"
|
||||
|
||||
Reference in New Issue
Block a user