Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -276,8 +276,8 @@ def channel_num(btn_title):
|
|
276 |
choice = 0
|
277 |
|
278 |
for idx, channel in enumerate(channels):
|
279 |
-
|
280 |
-
|
281 |
|
282 |
return choice
|
283 |
|
|
|
276 |
choice = 0
|
277 |
|
278 |
for idx, channel in enumerate(channels):
|
279 |
+
if channel == btn_title:
|
280 |
+
choice = idx
|
281 |
|
282 |
return choice
|
283 |
|