fix generate_clips

This commit is contained in:
j 2023-10-08 12:07:57 +01:00
parent 21283e38ac
commit 950287a2f7

View file

@ -1,4 +1,5 @@
import json
import os
from django.core.management.base import BaseCommand
from django.conf import settings
@ -11,7 +12,7 @@ class Command(BaseCommand):
help = 'generate symlinks to clips and clips.json'
def add_arguments(self, parser):
parser.add_argument('--prefix', action='store_', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
def handle(self, **options):
prefix = options['prefix']