modifié : INITBASE/loader.py

modifié :         SRC/public/imgs/avatar/1.png
This commit is contained in:
sidya82 2015-03-20 23:27:42 +01:00
parent 605252c76e
commit f1e32092d8
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,9 @@ try :
cur.execute("TRUNCATE table datations")
cur.execute("TRUNCATE table oeuvres")
cur.execute("TRUNCATE table referents")
cur.execute("TRUNCATE table config_jeus")
cur.execute("TRUNCATE table config_jeu_oeuvre")
cur.execute("TRUNCATE table password_resets")
# On parcourt le fichier xml
tree = ET.parse('inventaire.xml')
@ -202,7 +205,7 @@ try :
i+=1
#On Cree utilisateur decouvrir le muse
datas = { "id" : "1", "nom": "Découverte" }
datas = { "id" : "1", "nom": "Découverte", "image" : "1.png" }
insert(cur,"referents",datas)
con.commit()

BIN
SRC/public/imgs/avatar/1.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB