From 965fbc917d1938f73f722da2dd1f2a7d9e2820fa Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Thu, 26 Jan 2017 15:11:53 -0800 Subject: [PATCH] use string formatting in start message --- sanic/sanic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/sanic.py b/sanic/sanic.py index 4953ef58..6f8acc2e 100644 --- a/sanic/sanic.py +++ b/sanic/sanic.py @@ -351,7 +351,7 @@ class Sanic: proto = "http" if ssl is not None: proto = "https" - log.info('Goin\' Fast @ {}://{}:{}', proto, host, port) + log.info('Goin\' Fast @ {}://{}:{}'.format(proto, host, port)) try: if workers == 1: @@ -430,7 +430,7 @@ class Sanic: proto = "http" if ssl is not None: proto = "https" - log.info('Goin\' Fast @ {}://{}:{}', proto, host, port) + log.info('Goin\' Fast @ {}://{}:{}'.format(proto, host, port)) return await serve(**server_settings)