summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogClient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index c380b1d..bd54420 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -65,7 +65,8 @@ class ogClient:
def receive(self):
try:
data = self.sock.recv(1024).decode('utf-8')
- except socket.err as err:
+ except socket.error as err:
+ data = ''
print ('Error3 ' + str(err))
if len(data) == 0: