From d2142f8a90beab76f371a4f71db3708f54a29ef2 Mon Sep 17 00:00:00 2001
From: davebshow <davebshow@gmail.com>
Date: Sat, 16 Jul 2016 13:59:00 -0400
Subject: [PATCH] fixed typo

---
 goblin/driver/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/goblin/driver/connection.py b/goblin/driver/connection.py
index 01015b3..4f6d7e1 100644
--- a/goblin/driver/connection.py
+++ b/goblin/driver/connection.py
@@ -181,7 +181,7 @@ class Connection(AbstractConnection):
     async def receive(self):
         data = await self._ws.receive()
         if data.tp == aiohttp.MsgType.close:
-            await ws.close()
+            await self._ws.close()
         elif data.tp == aiohttp.MsgType.error:
             raise data.data
         elif data.tp == aiohttp.MsgType.closed:
-- 
GitLab