mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-13 06:47:54 +02:00
Fixed Range on CLI downloadchaptertask creation
This commit is contained in:
@ -510,7 +510,7 @@ public static class Tranga_Cli
|
|||||||
if (selectedChapters.Contains('-'))
|
if (selectedChapters.Contains('-'))
|
||||||
{
|
{
|
||||||
int start = Convert.ToInt32(selectedChapters.Split('-')[0]);
|
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];
|
return availableChapters[start..end];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user