This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix-3393
fix-3221-v1
liuzx
2 years ago
parent
51a816eb54
commit
b65a2f8b7e
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
routers/api/v1/repo/cloudbrain.go
+ 4
- 1
routers/api/v1/repo/cloudbrain.go
View File
@@ -767,8 +767,11 @@ func CloudbrainGetLog(ctx *context.APIContext) {
result["Lines"] = 1
result["EndLine"] = 1
}
if ctx.Data["existStr"] != nil && result["Lines"].(int) < 60
|| ctx.Data["existStr"] != nil && result["Lines"] == 0
{
if ctx.Data["existStr"] != nil && result["Lines"].(int) < 60 {
content = content + ctx.Data["existStr"].(string)
if result["Lines"].(int) == 0 {
result["Lines"] = 1
}
}
}
} else {
Write
Preview
Loading…
Cancel
Save