fix opening some ext configs

This commit is contained in:
DYefremov
2019-01-28 23:10:35 +03:00
parent 9ead5b3918
commit d88548eece

View File

@@ -79,7 +79,7 @@ def get_bouquet(path, name, bq_type):
name = None
if len(ch_data) == 12:
name, desc = str(ch_data[-1]).split("\n#DESCRIPTION")
services.append(BouquetService(name, BqServiceType.DEFAULT, fav_id, 0))
services.append(BouquetService(name, BqServiceType.DEFAULT, fav_id.upper(), 0))
return srvs[0].lstrip("#NAME").strip(), services