diff --git a/bin/wsshd b/bin/wsshd index 97fbd09..81d4498 100755 --- a/bin/wsshd +++ b/bin/wsshd @@ -94,7 +94,7 @@ if __name__ == '__main__': agent = 'wsshd/{0}'.format(wssh.__version__) - print '{0} running on {1}:{2}'.format(agent, args.host, args.port) + print('{0} running on {1}:{2}'.format(agent, args.host, args.port)) app.debug = True http_server = WSGIServer((args.host, args.port), app, diff --git a/wssh/__init__.py b/wssh/__init__.py index 5c01378..bea3558 100644 --- a/wssh/__init__.py +++ b/wssh/__init__.py @@ -1,3 +1,3 @@ -from server import WSSHBridge +from wssh.server import WSSHBridge __version__ = '0.1.0' diff --git a/wssh/server.py b/wssh/server.py index 17a4965..999e188 100644 --- a/wssh/server.py +++ b/wssh/server.py @@ -24,7 +24,7 @@ except ImportError: import json -from StringIO import StringIO +from io import StringIO class WSSHBridge(object):