ret=[]
BSCSUpdate=0
for datum in rec10d.rec10db.select_get_updatelogo_epg_ch("720"):
- bctype=datus[0]
+ bctype=datum[0]
if bctype == "cs1" or bctype == u"cs1":
- ret.append(u"bs")
- BSCSUpdate=1
+ if BSCSUpdate==0:
+ ret.append(u"bs")
+ BSCSUpdate=1
+ elif bctype == "cs2" or bctype == u"cs2":
+ if BSCSUpdate==0:
+ ret.append(u"bs")
+ BSCSUpdate=1
+ elif bctype == "bs" or bctype == u"bs":
+ if BSCSUpdate==0:
+ ret.append(u"bs")
+ BSCSUpdate=1
else:
ret.append(bctype)
return ret