mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[PR #60] [CLOSED] fix the problem when split env variables with '=' #161
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/mcpo/pull/60
Author: @vannel
Created: 4/10/2025
Status: ❌ Closed
Base:
dev← Head:bugfix/init-with-env📝 Commits (2)
8c8a35eMerge pull request #42 from open-webui/dev853e140fix(init): wrong variable to split📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/mcpo/__init__.py(+1 -1)📄 Description
When starting with the 'env', like
uvx mcpo --env SOME_VAR=somevalue -- mycommand, an error will pop out:AttributeError: 'list' object has no attribute 'split'. Maybe that's because in the__init__, the split function is called on theenvvariable, instead ofvarvariable.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.