summaryrefslogtreecommitdiff
path: root/run.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-01 13:09:18 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-01 13:09:18 +0200
commit6d37dbf479a1a9e78d5649329f2a8f6302367c4d (patch)
treec5874949af6a715f10ed153e5b1010bd6df3314f /run.py
parentc86b54b92b70b8a19afa8bc756367dd44298562b (diff)
endswith
Diffstat (limited to 'run.py')
-rw-r--r--run.py2
1 files changed, 1 insertions, 1 deletions
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)))