Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/vip_client/classes/VipSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ def parse_value(input):
# We must use absolute paths to find the relative parts
input_dir = self._local_input_dir.resolve()
input_path = Path(input).resolve()
# Check if input_path is a valid file
if not input_path.exists():
return input
else: # Return input if `_local_input_dir` is unset
return input
# Return the part of `input_path` that is relative to `input_dir` (if relevant)
Expand Down