diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-17 16:54:30 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-17 16:54:30 +0100 |
| commit | 10493b832e2bf6815878b483fbfb4774bb87b12c (patch) | |
| tree | c1de102f566e3772f30d7a1628ef6e596945f5c1 /cli/app/commands | |
| parent | 2c064f2b1d775b076baff6c0735bb66062848105 (diff) | |
no png compression
Diffstat (limited to 'cli/app/commands')
| -rw-r--r-- | cli/app/commands/cortex/upload_video.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/app/commands/cortex/upload_video.py b/cli/app/commands/cortex/upload_video.py index 4590a6c..c0d2afd 100644 --- a/cli/app/commands/cortex/upload_video.py +++ b/cli/app/commands/cortex/upload_video.py @@ -34,9 +34,7 @@ def cli(ctx, opt_fp_in, opt_folder_id): fp_out = os.path.join(app_cfg.DIR_RENDERS, fn + '.mp4') export_video_final(opt_fp_in, fp_out) - if fp_out is None: - return - + if not os.path.exists(fp_out): print("No video found") return |
