Skip to content

Commit c9087f9

Browse files
authored
Merge pull request #70 from jschlyter/f_string_missing
add missing f-string
2 parents 35180d5 + cab73f2 commit c9087f9

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)