Skip to content

Commit

Permalink
pop[] => pop('resource', None)
Browse files Browse the repository at this point in the history
  • Loading branch information
shepwalker committed Mar 21, 2014
1 parent 378d75c commit 9b82e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def run(self, app, host=None, port=None, **kwargs):
port = 5000
#Don't allow override of resource, otherwise allow SocketIOServer kwargs to be passed through
if 'resource' in kwargs:
kwargs.pop['resource']
kwargs.pop('resource', None)
self.server = SocketIOServer((host, port), app.wsgi_app, resource='socket.io', **kwargs)
if app.debug:
@run_with_reloader
Expand Down

0 comments on commit 9b82e07

Please sign in to comment.