Outils pour utilisateurs

Outils du site


issue75:python

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
issue75:python [2013/12/22 07:54] fcm_-_ekelissue75:python [2013/12/22 08:11] (Version actuelle) fcm_-_ekel
Ligne 111: Ligne 111:
 et les remplacer par  et les remplacer par 
  
-sql = 'INSERT INTO Series (NomSeries,Chemin,SerieID) VALUES (?,?,?)'+sql = 'INSERT INTO Series (NomSerie,Chemin,SerieID) VALUES (?,?,?)'
     cursor.execute(sql,(NomEmission,Racine,-1))     cursor.execute(sql,(NomEmission,Racine,-1))
  
Ligne 137: Ligne 137:
 en : en :
  
-sqlstring = "SELECT pkid,NomSeries FROM Series WHERE SerieID = -1"+sqlstring = "SELECT pkid,NomSerie FROM Series WHERE SerieID = -1"
  
 **This will create a result-set that we can then use to query TvRage for each series. Now find/replace the following two lines **This will create a result-set that we can then use to query TvRage for each series. Now find/replace the following two lines
Ligne 189: Ligne 189:
  
 en : en :
-    MettreAJourBase(NomSeries,id,pkid)+    MettreAJourBase(NomSerie,id,pkid)
  
 et changez la ligne : et changez la ligne :
Ligne 258: Ligne 258:
 network = dict['Reseau'] network = dict['Reseau']
 airday = dict['JourDiffusion'] airday = dict['JourDiffusion']
-airtime = dict['HeureDiffusion']+airtime = dict['HoraireDiffusion']
  
 **Finally, we create the query string to do the update (bottom). Again, this should all be on one line, but I’ve broken it up here to make it easy to understand. **Finally, we create the query string to do the update (bottom). Again, this should all be on one line, but I’ve broken it up here to make it easy to understand.
issue75/python.1387695246.txt.gz · Dernière modification : 2013/12/22 07:54 de fcm_-_ekel