This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
EESAST
/
THUAI6
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
3
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Chore: Fix json cannot close bug
tags/0.1.0
sendssf
2 years ago
parent
9f14fecb6a
commit
87ccb221ee
1 changed files
with
2 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
installer/Installer/Model.cs
+ 2
- 1
installer/Installer/Model.cs
View File
@@ -821,7 +821,8 @@ namespace Downloader
using StreamWriter sw = new StreamWriter(fs2);
using StreamWriter sw = new StreamWriter(fs2);
fs2.SetLength(0);
fs2.SetLength(0);
sw.Write(JsonConvert.SerializeObject(dict));
sw.Write(JsonConvert.SerializeObject(dict));
sw.Close();
fs2.Close();
try
try
{
{
File.Delete(Data.path);
File.Delete(Data.path);
Write
Preview
Loading…
Cancel
Save