Skip to content

Commit f44f1a2

Browse files
committed
Removed formats from strings
1 parent d34d19d commit f44f1a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lms/lmsweb/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ def signup():
146146
def confirm_email(user_id: int, token: str):
147147
user = User.get_or_none(User.id == user_id)
148148
if user is None:
149-
return fail(404, f'The authentication code is invalid.')
149+
return fail(404, 'The authentication code is invalid.')
150150

151151
if not user.role.is_unverified:
152-
return fail(403, f'User has been already confirmed.')
152+
return fail(403, 'User has been already confirmed.')
153153

154154
try:
155155
SERIALIZER.loads(

0 commit comments

Comments
 (0)