summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/throughput.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/throughput.py')
-rwxr-xr-xDemo/sockets/throughput.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sockets/throughput.py b/Demo/sockets/throughput.py
index 411af9f..6ffcaa8 100755
--- a/Demo/sockets/throughput.py
+++ b/Demo/sockets/throughput.py
@@ -23,9 +23,9 @@ BUFSIZE = 1024
def main():
if len(sys.argv) < 2:
usage()
- if sys.argv[1] = '-s':
+ if sys.argv[1] == '-s':
server()
- elif sys.argv[1] = '-c':
+ elif sys.argv[1] == '-c':
client()
else:
usage()