Skip to content

Commit

Permalink
fixed underscore bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsziere committed Oct 12, 2023
1 parent 657f54c commit a5fb0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async def kobo_to_121(request: Request, dependencies=Depends(required_headers_12
if kobo_field in kobo_data.keys():
kobo_value = kobo_data[kobo_field].replace(" ", "_")
if kobo_value not in attachments.keys():
payload[target_field] = kobo_value
payload[target_field] = kobo_data[kobo_field]
else:
payload[target_field] = attachments[kobo_value]['url']
else:
Expand Down

0 comments on commit a5fb0cc

Please sign in to comment.