Skip to content

Commit 073c6a6

Browse files
Update concoredocker.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2bad98f commit 073c6a6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

concoredocker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ def read(port_identifier, name, initstr_val):
222222
return default_return_val
223223

224224
time.sleep(delay)
225-
file_path = os.path.join(inpath, str(file_port_num), name)
225+
# Construct file path consistent with other components (e.g., /in1/<name>)
226+
file_path = os.path.join(inpath + str(file_port_num), name)
226227

227228
try:
228229
with open(file_path, "r") as infile:

0 commit comments

Comments
 (0)