summaryrefslogtreecommitdiffstats
path: root/src/ogClient.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogClient.py')
-rw-r--r--src/ogClient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index a167c71..29b2ebf 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -48,7 +48,7 @@ class ogClient:
return self.sock
def get_event_socket(self):
- return self.event_sock
+ return getattr(self, 'event_sock', None)
def get_state(self):
return self.state