Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba6b9c9

Browse files
committed
Make Python 3 happy by using a print function instead of a print statement.
1 parent 0de0cd2 commit ba6b9c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_uwsgi_websocket/websocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run(self, app=None, debug=False, host='localhost', port=5000, **kwargs):
8787
uwsgi_args = ' '.join(['--{0} {1}'.format(k,v) for k,v in kwargs.items()])
8888
args = 'uwsgi --http {0}:{1} --http-websockets {2} --wsgi {3}'.format(host, port, uwsgi_args, app)
8989

90-
print args
90+
print(args)
9191

9292
# set enviromental variable to trigger adding debug middleware
9393
if self.app.debug or debug:

0 commit comments

Comments
 (0)