Skip to content

Commit

Permalink
修复删除订阅后仍在添加下载任务的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Dec 14, 2024
1 parent 5942ec8 commit 8ca0f64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UPDATE.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
增加BGM日文标题
修复删除订阅后仍在添加下载任务的问题
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ani.rss</groupId>
<artifactId>ani-rss</artifactId>
<version>1.1.208</version>
<version>1.1.209</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/ani/rss/util/TorrentUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ public static synchronized void downloadAni(Ani ani) {
AniUtil.sync();
}

if (!AniUtil.ANI_LIST.contains(ani)) {
return;
}
download(ani, item, savePath, saveTorrent);
if (master && !is5) {
currentDownloadCount++;
Expand Down

0 comments on commit 8ca0f64

Please sign in to comment.