aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ParrotZik.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ParrotZik.py b/ParrotZik.py
index 5a26b52..8a2fca6 100644
--- a/ParrotZik.py
+++ b/ParrotZik.py
@@ -134,7 +134,10 @@ class ParrotZik(object):
except:
self.sock =""
return
- data = self.sock.recv(7)
+ if sys.platform == "darwin":
+ data = self.sock.recv(30)
+ else:
+ data = self.sock.recv(7)
data = self.sock.recv(1024)
data=BeautifulSoup(data)
return data