summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/gopher.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/gopher.py')
-rwxr-xr-xDemo/sockets/gopher.py2
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: