diff options
Diffstat (limited to 'Demo/sockets/gopher.py')
-rwxr-xr-x | Demo/sockets/gopher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/gopher.py b/Demo/sockets/gopher.py index 2488c81..2c46da6 100755 --- a/Demo/sockets/gopher.py +++ b/Demo/sockets/gopher.py @@ -246,7 +246,7 @@ def browse_search(selector, host, port): def browse_telnet(selector, host, port): if selector: print 'Log in as', repr(selector) - if type(port) <> type(''): + if type(port) != type(''): port = repr(port) sts = os.system('set -x; exec telnet ' + host + ' ' + port) if sts: |