mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2026-03-03 08:49:09 +00:00
fix references to remote.ip
This commit is contained in:
parent
0b99b6a67f
commit
81ed963bea
@ -32,7 +32,7 @@ class Subscriber(threading.Thread):
|
|||||||
nbs, self._remote._get_next_framecounter()
|
nbs, self._remote._get_next_framecounter()
|
||||||
)
|
)
|
||||||
self._remote.sock.sendto(
|
self._remote.sock.sendto(
|
||||||
sub_packet, (self._remote.ip, self._remote.port)
|
sub_packet, (self._remote.host, self._remote.port)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.wait_until_stopped(10)
|
self.wait_until_stopped(10)
|
||||||
@ -76,7 +76,7 @@ class Producer(threading.Thread):
|
|||||||
except TimeoutError as e:
|
except TimeoutError as e:
|
||||||
self.logger.exception(f'{type(e).__name__}: {e}')
|
self.logger.exception(f'{type(e).__name__}: {e}')
|
||||||
raise VBANCMDConnectionError(
|
raise VBANCMDConnectionError(
|
||||||
f'timeout waiting for response from {self._remote.ip}:{self._remote.port}'
|
f'timeout waiting for response from {self._remote.host}:{self._remote.port}'
|
||||||
) from e
|
) from e
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user