refs #708 fix incorrect usage of an f-string
parent
38815028a6
commit
82bf3a15f6
|
@ -97,7 +97,7 @@ class ServerWorker(object):
|
|||
try:
|
||||
operation = getattr(self, 'process_' + path[0])
|
||||
except:
|
||||
raise Exception ({ '_httpcode': 404, '_msg': '{path[0]}: method not found' })
|
||||
raise Exception ({ '_httpcode': 404, '_msg': f'{path[0]}: method not found' })
|
||||
|
||||
return operation(path[1:], getParams, postParams, server)
|
||||
|
||||
|
|
Loading…
Reference in New Issue