Skip to content

Commit a1aa0ca

Browse files
committed
fix: convert string true to boolean
1 parent e59ea5f commit a1aa0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/provider/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, provider_def):
6767
raise RuntimeError('name/type/data are required')
6868

6969
self.editable = provider_def.get('editable', False)
70-
self.count = str2bool(provider_def.get('count', 'true'))
70+
self.count = str2bool(provider_def.get('count', True))
7171
self.options = provider_def.get('options')
7272
self.id_field = provider_def.get('id_field')
7373
self.uri_field = provider_def.get('uri_field')

0 commit comments

Comments
 (0)