Skip to content

Commit 6603b18

Browse files
committed
fix: change uri reading method from read_text to readline, thus reverting to previous behavior. Moreover, the URI is only on the first line.
1 parent 2bec214 commit 6603b18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ipsframework/services.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3403,7 +3403,7 @@ def setup(self, worker: Worker):
34033403
while True:
34043404
if worker.dvm_proc.poll() is not None:
34053405
raise RuntimeError(f'DVM exited during startup; see {worker.dvm_log_file}')
3406-
uri = uri_path.read_text().strip() if uri_path.exists() else ''
3406+
uri = uri_path.readline().strip() if uri_path.exists() else ''
34073407
if uri:
34083408
worker.dvm_uri = uri
34093409
break

0 commit comments

Comments
 (0)