merge master conflict

This commit is contained in:
vincent 2018-08-22 14:30:23 +02:00
commit e2ab64172e

View File

@ -119,27 +119,31 @@ class Interface:
def click(self): def click(self):
print(self.value.get()) print(self.value.get())
Arrayvalue=self.value.get().split(" ")
for value in Arrayvalue:
try:
strlink=geturlprogrammetv(self.data[self.value.get()]) try:
link= Labbelink(self.resultframe.interior,self.data[self.value.get()],strlink) strlink=geturlprogrammetv(self.data[value])
link.pack() link= Labbelink(self.resultframe.interior,self.data[value],strlink)
self.resultframe.update() link.pack()
print(self.data[self.value.get()]) self.resultframe.update()
emision=parse_emmission(strlink) print(self.data[value])
if emision: emision=parse_emmission(strlink)
if emision == "can't find show": if emision:
Label(self.resultframe.interior,text="impssible de parser cette chaine").pack() if emision == "can't find show":
Label(self.resultframe.interior,text="impssible de parser cette chaine").pack()
else:
emmisionGUI(self.resultframe.interior,**emision).pack()
else: else:
emmisionGUI(self.resultframe.interior,**emision).pack() Label(self.resultframe.interior,text="pas de connection internet impossible de determiner l'émission du soir").pack()
else:
Label(self.resultframe.interior,text="pas de connection internet impossible de determiner l'émission du soir").pack()
except KeyError:
print("numero de chaine inconnue")
unknow=Label(self.resultframe.interior, text="numero de chaine inconnue")
unknow.pack()
except KeyError:
print("numero de chaine inconnue")
unknow=Label(self.resultframe.interior, text="numero de chaine inconnue")
unknow.pack()
self.value.set("") self.value.set("")
def click_reset(self): def click_reset(self):