commit 75798a6ff5c69c46ce8e17ea9ee6626d2bc164f3
parent d1037880561f1cf23441aa8205d52a7585ad971c
Author: rbckman <robinbackman@gmail.com>
Date: Sun, 16 Sep 2018 10:32:51 +0300
new lens config, check if file excist before playing it
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lensconfig.npz b/lensconfig.npz
Binary files differ.
diff --git a/tarina.py b/tarina.py
@@ -762,6 +762,10 @@ def render(filmfiles, filename):
#---------------Play------------------------
def playthis(filename, camera):
+ if not os.path.isfile(filename + '.mp4'):
+ #should probably check if its not a corrupted video file
+ print "no file to play"
+ return
t = 0
pressed = ''
buttonpressed = ''