gonzopi

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

commit 77e11561cc41736be0713ee379fba9e891ee0d64
parent 877ceca1de350d2c365eb4ac0a9ac73863d85082
Author: rbckman <rob@tarina.org>
Date:   Mon,  5 Feb 2024 17:41:17 +0000

remove after moving

Diffstat:
Mgonzopi.py | 6+++---
Dsrv/static/Videos | 2--
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/gonzopi.py b/gonzopi.py @@ -658,15 +658,15 @@ def main(): pass os.system('cp -r ' + yanked + ' ' + paste) if moving == True: - os.system('rm -r ' + yanked + '/*') + os.system('rm -r ' + yanked) #Remove hidden placeholder - os.system('rm ' + yanked + '/.placeholder') + #os.system('rm ' + yanked + '/.placeholder') elif copying == 'scene': vumetermessage('Pasting scene, please wait...') paste = filmfolder + filmname + '/' + 'scene' + str(scene-1).zfill(3) + '_yanked' os.system('cp -r ' + yanked + ' ' + paste) if moving == True: - os.system('rm -r ' + yanked + '/*') + os.system('rm -r ' + yanked) #Remove hidden placeholder #os.system('rm ' + yanked + '/.placeholder') add_organize(filmfolder, filmname) diff --git a/srv/static/Videos b/srv/static/Videos @@ -1 +0,0 @@ -/home/pi/Videos/ -\ No newline at end of file