diff --git a/eol_api_wrapper.py b/eol_api_wrapper.py index d4a6670..eebaac5 100644 --- a/eol_api_wrapper.py +++ b/eol_api_wrapper.py @@ -199,7 +199,7 @@ def __init__(self, q, page = 1, exact = False, filter_by_taxon_concept_id = '', if not isinstance(page, int) and page!='all': raise ValueError('Not a valid page number') - + q = q.replace(' ', '+') # prep search strings for the url syntax. attributes = [q,page,API._bool_converter(exact),filter_by_taxon_concept_id, filter_by_hierarchy_entry_id, filter_by_string, cache_ttl, key] url = (