Skip to content

Commit

Permalink
fix non-str casts with an f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjfocs committed Jul 17, 2019
1 parent a40752f commit 5be08ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soweego/ingester/mix_n_match_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _import_matches(
url_prefix,
):
for qid, tid, score in tqdm(links_reader, total=n_links):
url = '' if url_prefix is None else url_prefix + tid
url = '' if url_prefix is None else f'{url_prefix}{tid}'

db_entity = mix_n_match.MnMEntry()
_set_entry_fields(
Expand Down

0 comments on commit 5be08ac

Please sign in to comment.