Mythus commited on
Commit
2da13d8
·
verified ·
1 Parent(s): 2d165bf

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -83,9 +83,9 @@ def addon_stream(type, id):
83
  abort(404)
84
  streams = {'streams': []}
85
 
86
- if type in STREAMS and id in STREAMS[type]:
87
  logging.debug(f"Found TV channel: {id}")
88
- streams['streams'] = STREAMS[type][id]
89
  else:
90
  logging.debug(f"Handling movie or series: {id}")
91
  if MYSTERIUS == "1":
 
83
  abort(404)
84
  streams = {'streams': []}
85
 
86
+ if type in TV_CHANNELS and id in TV_CHANNELS[type]:
87
  logging.debug(f"Found TV channel: {id}")
88
+ streams['streams'] = TV_CHANNELS[type][id]
89
  else:
90
  logging.debug(f"Handling movie or series: {id}")
91
  if MYSTERIUS == "1":