http: Use same string interpolation style as elsewhere
This commit is contained in:
parent
490c7a02b7
commit
49644dfd99
@ -96,7 +96,7 @@ class HttpFrontend(pykka.ThreadingActor, CoreListener):
|
|||||||
result = []
|
result = []
|
||||||
for static in self.statics:
|
for static in self.statics:
|
||||||
result.append((
|
result.append((
|
||||||
r'/{}/?(.*)'.format(static['name']),
|
r'/%s/?(.*)' % static['name'],
|
||||||
handlers.StaticFileHandler,
|
handlers.StaticFileHandler,
|
||||||
{
|
{
|
||||||
'path': static['path'],
|
'path': static['path'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user