Skip to content

Commit

Permalink
.format -> f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Jan 14, 2020
1 parent c62ea76 commit fa6ceb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/modules/browser/lookups.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def get_variants_by_rsid(dataset: str, rsid: str, ds_version: str = None) -> lis
try:
int_rsid = int(rsid.lstrip('rs'))
except ValueError as err:
logging.warning(f'get_variants_by_rsid({}, {}): not an integer after rs'.format(dataset, rsid))
logging.warning(f'get_variants_by_rsid({dataset}, {rsid}): not an integer after rs')
raise error.ParsingError('Not an integer after rs') from err

variants = (db.Variant
Expand Down

0 comments on commit fa6ceb6

Please sign in to comment.