Skip to content

Commit cab73f2

Browse files
committed
add missing f-string
1 parent 35180d5 commit cab73f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cryptojwt/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ def modsplit(name):
209209
if ":" in name:
210210
_part = name.split(":")
211211
if len(_part) != 2:
212-
raise ValueError("Syntax error: {s}")
212+
raise ValueError(f"Syntax error: {s}")
213213
return _part[0], _part[1]
214214

215215
_part = name.split(".")
216216
if len(_part) < 2:
217-
raise ValueError("Syntax error: {s}")
217+
raise ValueError(f"Syntax error: {s}")
218218

219219
return ".".join(_part[:-1]), _part[-1]
220220

0 commit comments

Comments
 (0)