summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/radio.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/radio.py')
-rwxr-xr-xDemo/sockets/radio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/radio.py b/Demo/sockets/radio.py
index 5905ff2..6131d40 100755
--- a/Demo/sockets/radio.py
+++ b/Demo/sockets/radio.py
@@ -6,7 +6,7 @@ import sys
from socket import *
s = socket(AF_INET, SOCK_DGRAM)
-s.bind('', MYPORT)
+s.bind(('', MYPORT))
while 1:
data, wherefrom = s.recvfrom(1500, 0)