Commits

Florent Kaisser  committed 207ae77 Draft

fix list rate bug (name of variable error)

  • Participants
  • Parent commits e902fcb

Comments (0)

Files changed (1)

File rts_archive.py

 def process(idArticle, rate, ls):
 	(title, medias) = getMediasInfo(dwlJsonArticle(idArticle))
 	if (ls):
-		print title + " : " + ", ".join([str(r) for r in listRates(info)])
+		print title + " : " + ", ".join([str(r) for r in listRates(medias)])
 		return 0
 	if ( rate == 0 ) : rate = maxRates(medias)
 	dwlMedia(*getMediaInfoFromRate(title, medias, rate))