Mbonea commited on
Commit
d83b412
·
1 Parent(s): ecbe9a9

send video

Browse files
Files changed (1) hide show
  1. App/Worker.py +1 -1
App/Worker.py CHANGED
@@ -74,7 +74,7 @@ def cleanup_temp_directory(
74
  temp_dir: str, output_dir: str, chat_id: int = -1002069945904
75
  ):
76
  try:
77
- bot.send_video(chat_id, output_dir, caption="Your video caption")
78
  finally:
79
  # Cleanup: Remove the temporary directory
80
  shutil.rmtree(temp_dir, ignore_errors=True)
 
74
  temp_dir: str, output_dir: str, chat_id: int = -1002069945904
75
  ):
76
  try:
77
+ bot.send_video(-1002069945904, video=output_dir, caption="Your video caption")
78
  finally:
79
  # Cleanup: Remove the temporary directory
80
  shutil.rmtree(temp_dir, ignore_errors=True)