Commit e234dea5832489c8ecb1a09ca4fd47da760a08e0
1 parent
58e57ee8
Exists in
master
and in
4 other branches
Bug with filesize correction
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
core/renderer.py
| ... | ... | @@ -172,7 +172,7 @@ def run(ch, method, properties, body): |
| 172 | 172 | final_video = os.path.join(PATH_LIBRAS, properties.correlation_id+".mp4") |
| 173 | 173 | watermark(libras_video, final_video, "Vídeo gerado automaticamente pelo usuário") |
| 174 | 174 | try: |
| 175 | - filesize = os.path.getsize(libras_video) | |
| 175 | + filesize = os.path.getsize(final_video) | |
| 176 | 176 | except: |
| 177 | 177 | filesize = 0 |
| 178 | 178 | ... | ... |