From 04731215f56ac2ab232975204084d801f74778b7 Mon Sep 17 00:00:00 2001 From: cartoonnerie Date: Sat, 2 Sep 2023 20:25:53 +0200 Subject: [PATCH] fix: imdb not sent properly --- scripts/cineclubBlogSQ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cineclubBlogSQ.py b/scripts/cineclubBlogSQ.py index 574c44b..f439ff4 100644 --- a/scripts/cineclubBlogSQ.py +++ b/scripts/cineclubBlogSQ.py @@ -78,7 +78,7 @@ class filmSQ(): try: c.execute( - 'INSERT INTO films VALUES (:i, :idN, :date, :nom, :realisateur, :duree, :synopsis, :pays, :annee, :youtube, :couleur, :image, :formatCopie, :langST)', + 'INSERT INTO films VALUES (:i, :idN, :date, :nom, :realisateur, :duree, :synopsis, :pays, :annee, :youtube, :couleur, :image, :formatCopie, :langST, :idImdb)', dic) acteursToSq = [{'idFilm': dic['i'], 'acteur': a} for a in dic['acteurs']] @@ -256,7 +256,7 @@ class filmSQ(): dic['youtube'] = input("adresse youtube de la bande-annonce ? ") dic['image'] = input("url d'une affiche du film ? ") dic['couleur'] = filmSQ.input_color(); - dic['formatCopie'] = input("format de la copie ? ") + dic['formatCopie'] = input("VFformat de la copie ? ") dic['langST'] = input("langue et sous-titre : VF/VOSTFR ? ") seance = filmSQ(dic)