Commit ·
e5d8fa8
1
Parent(s): 5299ad7
Add debug logging to get_video_path
Browse files
modules/story_reels/services/story_creator.py
CHANGED
|
@@ -118,6 +118,7 @@ class StoryCreator:
|
|
| 118 |
def get_video_path(self, job_id: str) -> Path:
|
| 119 |
"""Get video file path for download"""
|
| 120 |
video_path = self.config.videos_dir_path / f"{job_id}.mp4"
|
|
|
|
| 121 |
if video_path.exists():
|
| 122 |
return video_path
|
| 123 |
return None
|
|
|
|
| 118 |
def get_video_path(self, job_id: str) -> Path:
|
| 119 |
"""Get video file path for download"""
|
| 120 |
video_path = self.config.videos_dir_path / f"{job_id}.mp4"
|
| 121 |
+
logger.info(f"Looking for video at: {video_path}, exists: {video_path.exists()}")
|
| 122 |
if video_path.exists():
|
| 123 |
return video_path
|
| 124 |
return None
|