Skip to content

Commit

Permalink
修正从远程rpc切换到本地rpc时,没有正确读取订阅的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Aug 8, 2024
1 parent e8570f0 commit 2e87d36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Aria2Fast/Service/SubscriptionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -641,11 +641,10 @@ public void Load()

//名称URL
//载入TaskUrlToSubscriptionName
SubscriptionModel.Clear();

if (File.Exists(fileName))
{
SubscriptionModel.Clear();

List<SubscriptionModel> subscriptionModel = JsonConvert.DeserializeObject<List<SubscriptionModel>>(File.ReadAllText(fileName));

if (subscriptionModel != null)
Expand Down

0 comments on commit 2e87d36

Please sign in to comment.