diff --git a/management/commands/generate_clips.py b/management/commands/generate_clips.py index ec02002..cd51f07 100644 --- a/management/commands/generate_clips.py +++ b/management/commands/generate_clips.py @@ -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']