diff --git a/app/video/management/commands/load_titles.py b/app/video/management/commands/load_titles.py index bbb4104..a2fc9d7 100644 --- a/app/video/management/commands/load_titles.py +++ b/app/video/management/commands/load_titles.py @@ -39,6 +39,7 @@ class Command(BaseCommand): elif key != 'id': f.data[{ }.get(key, key)] = value - f.public = True + if c: + f.public = True f.slug = item['id'] f.save()