mixed output
This commit is contained in:
parent
b571bb2271
commit
fee8e821f9
2 changed files with 12 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ class Command(BaseCommand):
|
|||
source = vo.files.filter(selected=True)[0]
|
||||
batch = vo.get('batch')[0].replace('Text-', '')
|
||||
src = source.data.path
|
||||
target = os.path.join(prefix, 'voice_over', batch, '%s.wav' % fragment_id)
|
||||
target = os.path.join(prefix, 'voice_over', batch, '%s.wav' % fragment_id)
|
||||
os.makedirs(os.path.dirname(target), exist_ok=True)
|
||||
if os.path.islink(target):
|
||||
os.unlink(target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue