summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/finger.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/finger.py')
-rwxr-xr-xDemo/sockets/finger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/finger.py b/Demo/sockets/finger.py
index 8aa0535..01c0b6c 100755
--- a/Demo/sockets/finger.py
+++ b/Demo/sockets/finger.py
@@ -37,7 +37,7 @@ def finger(host, args):
def main():
options = ''
i = 1
- while i < len(sys.argv) and sys.argv[i][:1] = '-':
+ while i < len(sys.argv) and sys.argv[i][:1] == '-':
options = options + sys.argv[i] + ' '
i = i+1
args = sys.argv[i:]