Browse Source

log delete

master
Andreas Demmelbauer 3 years ago
parent
commit
49e228c4f0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      demotape.py

+ 1
- 0
demotape.py View File

@@ -167,6 +167,7 @@ def upload_video(videofile_path):

def delete_video(file):
try:
logging.info('Deleting Video %s' % (file))
os.system('rm -rf "%s"' % (file))
return True
except:


Loading…
Cancel
Save