From 0489526ac9020deae0e023bf90d4212de3e42df0 Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Sun, 2 Oct 2016 17:32:27 -0700 Subject: [PATCH] Fix crash --- sanic/server.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sanic/server.py b/sanic/server.py index b6bb8dab..3deee929 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -97,9 +97,6 @@ class HttpProtocol(asyncio.Protocol): version=self.parser.get_http_version(), method=self.parser.get_method() ) - global n - n += 1 - self.n = n #print("res {} - {}".format(n, self.request)) self.loop.call_soon(self.handle, self.request)