diff --git a/INITBASE/loader.py b/INITBASE/loader.py index 44090ab..cc9010d 100755 --- a/INITBASE/loader.py +++ b/INITBASE/loader.py @@ -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() diff --git a/SRC/public/imgs/avatar/1.png b/SRC/public/imgs/avatar/1.png old mode 100755 new mode 100644 index f9231f5..23336b7 Binary files a/SRC/public/imgs/avatar/1.png and b/SRC/public/imgs/avatar/1.png differ