Backport PR #3874: Missing f prefix on f-strings fix

Fixes  3873

Signed-off-by: Min RK <benjaminrk@gmail.com>
This commit is contained in:
Min RK
2022-04-26 15:15:55 +02:00
parent 3dc115a829
commit f5e4846cfa
5 changed files with 14 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ class UserListAPIHandler(APIHandler):
if not set(sub_scope).issubset({'group', 'user'}):
# don't expand invalid !server=x filter to all users!
self.log.warning(
"Invalid filter on list:user for {self.current_user}: {sub_scope}"
f"Invalid filter on list:user for {self.current_user}: {sub_scope}"
)
raise web.HTTPError(403)
filters = []