Mbonea commited on
Commit
cee6d60
1 Parent(s): 0a42a4e
Files changed (1) hide show
  1. App/Worker.py +1 -3
App/Worker.py CHANGED
@@ -71,9 +71,7 @@ def cleanup_temp_directory(
71
  temp_dir: str, output_dir: str, chat_id: int = -1002069945904
72
  ):
73
  try:
74
- bot.send_file(
75
- chat_id=-1002069945904, file=output_dir, caption="Your video caption"
76
- )
77
  finally:
78
  # Cleanup: Remove the temporary directory
79
  shutil.rmtree(temp_dir, ignore_errors=True)
 
71
  temp_dir: str, output_dir: str, chat_id: int = -1002069945904
72
  ):
73
  try:
74
+ bot.send_file(chat_id, file=output_dir, caption="Your video caption")
 
 
75
  finally:
76
  # Cleanup: Remove the temporary directory
77
  shutil.rmtree(temp_dir, ignore_errors=True)