privateone commited on
Commit
08193bb
·
1 Parent(s): 4895976

Slight Edit

Browse files
FileStream/server/Functions/downloader.py CHANGED
@@ -35,7 +35,7 @@ async def media_streamer(request: web.Request, db_id: str, speed: str):
35
 
36
  if client in ACTIVE_CLIENTS:
37
  logging.info(f"Using cached ByteStreamer object for client {Worker['index']}")
38
- tg_connect = ACTIVE_CLIENTS(client)
39
 
40
  else:
41
  tg_connect = utils.ByteStreamer(client)
 
35
 
36
  if client in ACTIVE_CLIENTS:
37
  logging.info(f"Using cached ByteStreamer object for client {Worker['index']}")
38
+ tg_connect = ACTIVE_CLIENTS[client]
39
 
40
  else:
41
  tg_connect = utils.ByteStreamer(client)