Skip to content

Commit 0fb5f24

Browse files
committed
fix keyword varname
1 parent 8378194 commit 0fb5f24

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

pygeoapi/formatter/csv_.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Authors: Tom Kralidis <tomkralidis@gmail.com>
44
#
5-
# Copyright (c) 2022 Tom Kralidis
5+
# Copyright (c) 2026 Tom Kralidis
66
#
77
# Permission is hereby granted, free of charge, to any person
88
# obtaining a copy of this software and associated documentation
@@ -66,12 +66,12 @@ def write(self, options: dict = {}, data: dict = None) -> str:
6666
6767
:returns: string representation of format
6868
"""
69-
type = data.get('type', '')
70-
LOGGER.debug(f'Formatting CSV from data type: {type}')
69+
type_ = data.get('type', '')
70+
LOGGER.debug(f'Formatting CSV from data type: {type_}')
7171

72-
if 'Feature' in type or 'features' in data:
72+
if 'Feature' in type_ or 'features' in data:
7373
return self._write_from_geojson(options, data)
74-
elif 'Coverage' in type or 'coverages' in data:
74+
elif 'Coverage' in type_ or 'coverages' in data:
7575
return self._write_from_covjson(options, data)
7676

7777
def _write_from_geojson(

0 commit comments

Comments
 (0)