fixed issue
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
@@ -70,7 +70,7 @@ def render_video(directory: str, output_directory: str):
|
|
70 |
def cleanup_temp_directory(
|
71 |
temp_dir: str, output_dir: str, chat_id: int = -1002069945904
|
72 |
):
|
73 |
-
async_to_sync(SendVideo(temp_dir, output_dir, chat_id=-1002069945904)
|
74 |
|
75 |
|
76 |
async def SendVideo(temp_dir: str, output_dir: str, chat_id: int = -1002069945904):
|
|
|
70 |
def cleanup_temp_directory(
|
71 |
temp_dir: str, output_dir: str, chat_id: int = -1002069945904
|
72 |
):
|
73 |
+
async_to_sync(SendVideo)(temp_dir, output_dir, chat_id=-1002069945904)
|
74 |
|
75 |
|
76 |
async def SendVideo(temp_dir: str, output_dir: str, chat_id: int = -1002069945904):
|