Fixed Range on CLI downloadchaptertask creation
This commit is contained in:
parent
7784f2024e
commit
dc83cc2194
@ -510,7 +510,7 @@ public static class Tranga_Cli
|
||||
if (selectedChapters.Contains('-'))
|
||||
{
|
||||
int start = Convert.ToInt32(selectedChapters.Split('-')[0]);
|
||||
int end = Convert.ToInt32(selectedChapters.Split('-')[1]);
|
||||
int end = Convert.ToInt32(selectedChapters.Split('-')[1]) + 1;
|
||||
return availableChapters[start..end];
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user