Skip to content

Commit 1445ee0

Browse files
committed
[bugfix] Fix an f-string
Change-Id: Ic9a6b87b713af4c09f4ff14519cc5e917188a673
1 parent 55a8179 commit 1445ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywikibot/page/_wikibase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@ def fromJSON(cls, site, data: dict[str, Any]) -> Claim:
17381738

17391739
msg = None
17401740
if not claim_type:
1741-
msg = '{claim.id} does not exist.'
1741+
msg = f'{claim.id} does not exist.'
17421742
elif claim.type in cls.types:
17431743
# The default covers string, url types
17441744
claim.target = cls.TARGET_CONVERTER.get(

0 commit comments

Comments
 (0)