Skip to content

Commit d0b46e4

Browse files
authored
fix usage of node_ports (#2097)
1 parent 7bc926c commit d0b46e4

File tree

1 file changed

+1
-1
lines changed
  • services/sidecar/src/simcore_service_sidecar

1 file changed

+1
-1
lines changed

services/sidecar/src/simcore_service_sidecar/executor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async def _process_task_input(self, port: node_ports_v2.Port, input_ports: Dict)
159159
)
160160
# check if the file is a zip, in that case extract all if the service does not expect a zip file
161161
if zipfile.is_zipfile(final_path) and (
162-
str(port.type) != "data:application/zip"
162+
str(port.property_type) != "data:application/zip"
163163
):
164164
with zipfile.ZipFile(final_path, "r") as zip_obj:
165165
zip_obj.extractall(final_path.parents[0])

0 commit comments

Comments
 (0)