colonelwatch commited on
Commit
aafd588
·
1 Parent(s): 2df5624

Fix f-string handling

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def execute_request(ids: list[str], mailto: str | None) -> list[Work]:
167
  raise ValueError("querying /works endpoint with more than 100 works")
168
 
169
  # query with the /works endpoint with a specific list of IDs and fields
170
- search_filter = f"openalex_id:{"|".join(ids)}"
171
  search_select = ",".join(["id"] + Work.get_raw_fields())
172
  params = {"filter": search_filter, "select": search_select, "per-page": 100}
173
  if mailto is not None:
 
167
  raise ValueError("querying /works endpoint with more than 100 works")
168
 
169
  # query with the /works endpoint with a specific list of IDs and fields
170
+ search_filter = f'openalex_id:{"|".join(ids)}'
171
  search_select = ",".join(["id"] + Work.get_raw_fields())
172
  params = {"filter": search_filter, "select": search_select, "per-page": 100}
173
  if mailto is not None: