summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-09-13 10:51:15 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-10-05 16:32:40 +0200
commit1e92aa42628f87756a3ead40054c612b0c6741c2 (patch)
tree472dc8c852a41a65c8e461d6459b43ee92db2c56 /src
parent457a912749f89267a7440c56e133f57522bfc164 (diff)
ogClient: open event socket in live mode
Listen for event datagrams at UDP port 55885 in live mode too. The same as when running Linux or Windows 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 31ee5d3..c4dcd7e 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -33,7 +33,7 @@ class ogClient:
if self.mode not in {'virtual', 'live', 'linux', 'windows'}:
logging.critical('Invalid ogClient mode')
raise ValueError('Mode not supported.')
- if self.mode in {'linux', 'windows'}:
+ if self.mode in {'linux', 'windows', 'live'}:
self.event_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.event_sock.setblocking(0)
self.event_sock.bind(('127.0.0.1', 55885))