Skip to content

Commit

Permalink
Merge "[bugfix] Fix an f-string"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jan 4, 2025
2 parents 8d3b480 + 1445ee0 commit 03f149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywikibot/page/_wikibase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ def fromJSON(cls, site, data: dict[str, Any]) -> Claim:

msg = None
if not claim_type:
msg = '{claim.id} does not exist.'
msg = f'{claim.id} does not exist.'
elif claim.type in cls.types:
# The default covers string, url types
claim.target = cls.TARGET_CONVERTER.get(
Expand Down

0 comments on commit 03f149d

Please sign in to comment.