fixed file existance checking
Build this app / Builder (push) Successful in 40s

This commit is contained in:
Itsigo committed 2026-03-07 17:10:48 +01:00
1 parent 32e2cb23a8
commit 8bb1defbd5
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -23,5 +23,6 @@ jobs:
- name: Release
uses: akkuman/gitea-release-action@v1
with:
tag_name: github.ref_name
files: |-
tmp/**
+1 -1
View File
@@ -222,7 +222,7 @@ func downloadSeries(url string, downloadPath string) {
downloadCount := 0
for i, c := range s.Chapters {
chapterPath := fmt.Sprintf("%s/%s", seriesPath, c.Name)
if _, err := os.Stat(seriesPath + "/" + c.Name); os.IsNotExist(err) {
if _, err := os.Stat(seriesPath + "/" + c.Name + ".cbz"); os.IsNotExist(err) {
log.Println("Downloading ", c.Name)
downloadChapter(chapterPath, c.Link)
//log.Println("Compressing", c.Name)