diff --git a/app_state.py b/app_state.py index 942dc37..4ce8b9b 100644 --- a/app_state.py +++ b/app_state.py @@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it. import configparser import os -VERSION = "0.0.0.095" +VERSION = "0.0.0.096" PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True diff --git a/dasp.py b/dasp.py index fafe369..2ea59cf 100644 --- a/dasp.py +++ b/dasp.py @@ -589,7 +589,7 @@ class DaspSession: def __init__(self, dasp_socket, session_id, host, port, **options): self.socket = dasp_socket self.id = session_id - self.host = host + self.host = socket.gethostbyname(host) self.port = port self.remote_id = -1 self.is_closed = False diff --git a/editor.properties b/editor.properties index 1e923ea..410403c 100644 --- a/editor.properties +++ b/editor.properties @@ -7,7 +7,7 @@ left_pane_width = 230 trace_dasp = True [Device] -host = 192.168.1.251 +host = 192.168.0.26 port = 1876 user = admin