From e234dea5832489c8ecb1a09ca4fd47da760a08e0 Mon Sep 17 00:00:00 2001 From: Wesnydy Ribeiro Date: Mon, 6 Mar 2017 09:06:05 -0300 Subject: [PATCH] Bug with filesize correction --- core/renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/renderer.py b/core/renderer.py index ac254df..ef21982 100755 --- a/core/renderer.py +++ b/core/renderer.py @@ -172,7 +172,7 @@ def run(ch, method, properties, body): final_video = os.path.join(PATH_LIBRAS, properties.correlation_id+".mp4") watermark(libras_video, final_video, "Vídeo gerado automaticamente pelo usuário") try: - filesize = os.path.getsize(libras_video) + filesize = os.path.getsize(final_video) except: filesize = 0 -- libgit2 0.21.2