mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
fix(ffmpeg): fix python 3.11 syntax error in f-string
This commit is contained in:
1 parent
f2fef87ae9
commit
d752437138
1 file changed
+2
-1
@@ -539,7 +539,8 @@ async def process_reel(request: ReelRequest, x_api_key: str = Header(None)):
|
||||
print(f"❌ FFmpeg failed. Stderr:\n{process.stderr.decode()}")
|
||||
else:
|
||||
# Check stderr for font warnings even on success
|
||||
print(f"✅ FFmpeg executed. Stderr (last 20 lines):\n{'\n'.join(process.stderr.decode().splitlines()[-20:])}")
|
||||
stderr_last_lines = '\n'.join(process.stderr.decode().splitlines()[-20:])
|
||||
print(f"✅ FFmpeg executed. Stderr (last 20 lines):\n{stderr_last_lines}")
|
||||
|
||||
stats["encoding_duration"] = time.time() - start_step
|
||||
stats["total_duration"] = time.time() - start_total
|
||||
|
||||
Reference in new issue
Block a user