From 1445ee01ffcb26f6e8bc0c473479a7113cefc597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Fri, 3 Jan 2025 19:33:04 +0100 Subject: [PATCH] [bugfix] Fix an f-string Change-Id: Ic9a6b87b713af4c09f4ff14519cc5e917188a673 --- pywikibot/page/_wikibase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywikibot/page/_wikibase.py b/pywikibot/page/_wikibase.py index 34d198dd60..486cf3dd9a 100644 --- a/pywikibot/page/_wikibase.py +++ b/pywikibot/page/_wikibase.py @@ -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(