commit 62bd3175b69d349b5a0c5e87ee613153ba13a4c2 parent 5d0fad48eca3ae9b6b1d76b92be1a28965e622a5 Author: Sheng <webmaster0115@gmail.com> Date: Mon, 20 Nov 2017 18:01:40 +0800 Changed quotes Diffstat:
M | main.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.py b/main.py @@ -144,12 +144,12 @@ class IndexHandler(tornado.web.RequestHandler): if 0 < port < 65536: return port - raise ValueError("Invalid port {}".format(value)) + raise ValueError('Invalid port {}'.format(value)) def get_value(self, name): value = self.get_argument(name) if not value: - raise ValueError("Empty {}".format(name)) + raise ValueError('Empty {}'.format(name)) return value def get_args(self):