XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update main.go

4af56169
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -3
Modified g4f-go/main.go +1 -3
@@ -84,9 +84,7 @@ func runMain() int {
84 84 fmt.Fprintln(os.Stderr, "usage: g4f-go install g4f")
85 85 return 2
86 86 }
87 code, err := runPython(ctx, py, []string{
88 "-m", "pip", args...
89 })
87 code, err := runPython(ctx, py, append([]string{"-m", "pip"}, args...))
90 88 if err != nil {
91 89 fmt.Fprintln(os.Stderr, "g4f-go:", err)
92 90 return 1