Mythus commited on
Commit
7e82931
·
verified ·
1 Parent(s): 51df586

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -68,9 +68,9 @@ def root():
68
  @app.route('/catalog/tv/tv_channels.json')
69
  def catalog():
70
  items = []
71
- for channel in STREAMS:
72
  items.append({
73
- "id": channel["id"],
74
  "name": channel["name"],
75
  "type": "channel"
76
  })
 
68
  @app.route('/catalog/tv/tv_channels.json')
69
  def catalog():
70
  items = []
71
+ for id, channel in STREAMS["tv"].items():
72
  items.append({
73
+ "id": id,
74
  "name": channel["name"],
75
  "type": "channel"
76
  })