netoyage commentaire

This commit is contained in:
vincent 2018-08-21 11:25:42 +02:00
parent 05362a9d9c
commit 756286ca75

View File

@ -83,10 +83,6 @@ class Interface:
if emision == "can't find show": if emision == "can't find show":
Label(self.resultframe,text="impssible de parser cette chaine").pack() Label(self.resultframe,text="impssible de parser cette chaine").pack()
else: else:
#raw_data = urllib.request.urlopen(emision['img']).read()
#image = ImageTk.PhotoImage(file=io.BytesIO(raw_data))
#photolabel=Label(self.resultframe,image=image)
#photolabel.image = image
image=LabelImage(self.resultframe,emision['img']) image=LabelImage(self.resultframe,emision['img'])
image.pack() image.pack()
Labbelink(self.resultframe,("emmision ce soir: "+emision["title"]),emision['href']).pack() Labbelink(self.resultframe,("emmision ce soir: "+emision["title"]),emision['href']).pack()
@ -102,11 +98,6 @@ class Interface:
print("numero de chaine inconnue") print("numero de chaine inconnue")
unknow=Label(self.resultframe, text="numero de chaine inconnue") unknow=Label(self.resultframe, text="numero de chaine inconnue")
unknow.pack() unknow.pack()
#self.label2["text"] += geturlprogrammetv(self.data[self.value.get()])
self.value.set("") self.value.set("")
def click_reset(self): def click_reset(self):