diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index 867eb9d444..3b94d8739b 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -40,8 +40,8 @@ from geoalchemy2.shape import from_shape from geojson import dump from loguru import logger as log -from osm_fieldwork.filter_data import FilterData from osm_fieldwork import basemapper +from osm_fieldwork.filter_data import FilterData from osm_fieldwork.json2osm import json2osm from osm_fieldwork.OdkCentral import OdkAppUser from osm_fieldwork.xlsforms import xlsforms_path @@ -1449,7 +1449,6 @@ def generate_appuser_files( one = result.first() if one: - # Get odk credentials from project. odk_credentials = { "odk_central_url": one.odk_central_url, @@ -1470,7 +1469,6 @@ def generate_appuser_files( else: xlsform = f"{xlsforms_path}/{xform_title}.xls" - # Data Extracts if extracts_contents is not None: project_log.info("Uploading data extracts") @@ -1503,7 +1501,7 @@ def generate_appuser_files( boundary = {"type": "Feature", "properties": {}, "geometry": outline} data_extract = pg.execQuery(boundary) filter = FilterData(xlsform) - filtered_data_extract= filter.cleanData(data_extract) + filtered_data_extract = filter.cleanData(data_extract) updated_data_extract = {"type": "FeatureCollection", "features": []}