summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogClient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index 1457575..3f9ad63 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -99,9 +99,9 @@ class ogClient:
print('failed to received ' + str(err))
if len(data) == 0:
- self.state = State.CONNECTING
self.sock.close()
self.connect()
+ return
self.data = self.data + data
request = restRequest()