Skip to content

Commit 78c59a1

Browse files
committed
server: renamed ClientSocketWrapper -> SocketWrapper to unify naming scheme
1 parent a5e0806 commit 78c59a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/visdom/server/handlers/socket_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def on_close(self):
297297

298298
# TODO condense some of the functionality between this class and the
299299
# original SocketHandler class
300-
class ClientSocketWrapper():
300+
class SocketWrapper():
301301
"""
302302
Wraps all of the socket actions in regular request handling, thus
303303
allowing all of the same information to be sent via a polling interface
@@ -475,7 +475,7 @@ def post(self):
475475
@check_auth
476476
def get(self):
477477
"""Create a new socket wrapper for this requester, return the id"""
478-
new_sub = ClientSocketWrapper(self.app)
478+
new_sub = SocketWrapper(self.app)
479479
self.write(json.dumps({'success': True, 'sid': new_sub.sid}))
480480

481481

0 commit comments

Comments
 (0)