http: Use same string interpolation style as elsewhere

This commit is contained in:
Stein Magnus Jodal 2014-06-21 15:13:44 +02:00
parent 490c7a02b7
commit 49644dfd99

View File

@ -96,7 +96,7 @@ class HttpFrontend(pykka.ThreadingActor, CoreListener):
result = []
for static in self.statics:
result.append((
r'/{}/?(.*)'.format(static['name']),
r'/%s/?(.*)' % static['name'],
handlers.StaticFileHandler,
{
'path': static['path'],