Fix syntax error - remove duplicate code at end of migration script
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s

This commit is contained in:
Tudor Sitaru
2026-01-06 22:31:57 +00:00
parent e2b2ddfb66
commit 409853e82e

View File

@@ -27,17 +27,17 @@ import requests
from backend.config import settings
from backend.models import (
RESULT_FIELD_MAPPING,
SCHOOL_FIELD_MAPPING,
School,
SchoolResult,
SCHOOL_FIELD_MAPPING,
RESULT_FIELD_MAPPING,
)
from backend.schemas import (
COLUMN_MAPPINGS,
LA_CODE_TO_NAME,
NULL_VALUES,
NUMERIC_COLUMNS,
SCHOOL_TYPE_MAP,
NULL_VALUES,
LA_CODE_TO_NAME,
)
@@ -438,10 +438,4 @@ def main():
if __name__ == "__main__":
migrate_data(df, geocode=args.geocode)
return 0
if __name__ == '__main__':
sys.exit(main())