From 6d37dbf479a1a9e78d5649329f2a8f6302367c4d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 1 Jul 2018 13:09:18 +0200 Subject: endswith --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index c589fab..a6e326e 100644 --- a/run.py +++ b/run.py @@ -176,7 +176,7 @@ def dilate_frames(moduleNetwork, tensorOutput, frames, dilate): return new_frames def store_frames(frames, outputPath, opt, inputFirst=None, inputSecond=None): - if not outputPath.endsWith('.mp4'): + if not outputPath.endswith('.mp4'): outputPath += '.mp4' print('writing {}'.format(outputPath)) print('frames: {}'.format(len(frames))) -- cgit v1.2.3-70-g09d2