tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 2fb7891299d34815f0b6aadea075bc2660313a63
parent c3f09f107e61e7cbadaa9d0fe7339b0103d7f9c2
Author: rob <rob@tarina.org>
Date:   Fri, 14 Jun 2019 15:20:40 +0300

changed remove clip YES NO order

Diffstat:
Mtarina.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -602,7 +602,7 @@ def remove(filmfolder, filmname, scene, shot, take, sceneshotortake): time.sleep(0.1) header = 'Are you sure you want to remove ' + sceneshotortake + '?' menu = '', '' - settings = 'YES', 'NO' + settings = 'NO', 'YES' selected = 0 while True: writemenu(menu,settings,selected,header) @@ -614,7 +614,7 @@ def remove(filmfolder, filmname, scene, shot, take, sceneshotortake): if selected > 0: selected = selected - 1 elif pressed == 'middle': - if selected == 0: + if selected == 1: if sceneshotortake == 'take': #os.system('rm ' + foldername + filename + '.h264') os.system('rm ' + foldername + filename + '.mp4') @@ -639,7 +639,7 @@ def remove(filmfolder, filmname, scene, shot, take, sceneshotortake): foldername = filmfolder + filmname os.system('rm -r ' + foldername) return - elif selected == 1: + elif selected == 0: return time.sleep(0.02)