diff --git a/idhub/management/commands/initial_datas.py b/idhub/management/commands/initial_datas.py index 15f74ea..236c8ab 100644 --- a/idhub/management/commands/initial_datas.py +++ b/idhub/management/commands/initial_datas.py @@ -78,8 +78,6 @@ class Command(BaseCommand): def create_schemas(self): schemas_files = os.listdir(settings.SCHEMAS_DIR) - schemas = [x for x in schemas_files - if not Schemas.objects.filter(file_schema=x).exists()] for x in schemas_files: if Schemas.objects.filter(file_schema=x).exists(): continue