Commit 5c594161 authored by Administrator's avatar Administrator

[BUG FIX] init accounts.

parent 5baf0893
...@@ -58,8 +58,8 @@ def mines_account_creation(fichier=None): ...@@ -58,8 +58,8 @@ def mines_account_creation(fichier=None):
fichier = "/home/alexandre/projets/forccast/Tutorat/2014-2015/comptes_gargantext.csv" fichier = "/home/alexandre/projets/forccast/Tutorat/2014-2015/comptes_gargantext.csv"
accounts = open(fichier, "r") accounts = open(fichier, "r")
for line in accounts.readlines(): for line in accounts.readlines():
username, email, password = line.split(',') username, email, password, fin = line.split(',')
create_user(username, email, password=password, notify=True) create_user(username, email, password=password, notify=False)
#delete_user(username) #delete_user(username)
accounts.close() accounts.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment