mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 06:47:53 +02:00
More appropriate name for chapter filename
This commit is contained in:
@ -152,9 +152,9 @@ public class MangaDex : Connector
|
||||
: null;
|
||||
|
||||
string chapterName = string.Concat((title ?? "").Split(Path.GetInvalidFileNameChars()));
|
||||
string relativeFilePath = $"{chapterName} - V{volume}C{chapterNum}";
|
||||
string chapterFileName = $"{chapterName} - V{volume}C{chapterNum}";
|
||||
|
||||
chapters.Add(new Chapter(publication, title, volume, chapterNum, chapterId, relativeFilePath));
|
||||
chapters.Add(new Chapter(publication, title, volume, chapterNum, chapterId, chapterFileName));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user