Skip to content

fix: incorrect path joining#1387

Open
sauhardh wants to merge 1 commit intodora-rs:mainfrom
sauhardh:main
Open

fix: incorrect path joining#1387
sauhardh wants to merge 1 commit intodora-rs:mainfrom
sauhardh:main

Conversation

@sauhardh
Copy link
Contributor

@sauhardh sauhardh commented Mar 1, 2026

Solves: #1386

using os.path.join()

Copilot AI review requested due to automatic review settings March 1, 2026 18:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the reported path concatenation bug in the llm_op.py example by using proper path joining, preventing incorrect file paths when the current directory doesn’t end with a path separator.

Changes:

  • Replace string concatenation with os.path.join(current_directory, "object_detection.py") when building the path.
  • Minor formatting cleanup (single-line return; remove stray blank line).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sauhardh sauhardh changed the title Bug: incorrect path joining fix: incorrect path joining Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants