Bugfix: Flatten wasn't consistent (#227)
* Ensure that when caching, the order of the cached files remains the same way as if we manually navigated through nested folders.
This commit is contained in:
parent
54878b14f4
commit
fdc925812d
3 changed files with 22 additions and 12 deletions
|
|
@ -62,10 +62,11 @@ namespace API.Services
|
|||
|
||||
}
|
||||
|
||||
if (fileCount > 1)
|
||||
{
|
||||
new DirectoryInfo(extractPath).Flatten();
|
||||
}
|
||||
new DirectoryInfo(extractPath).Flatten();
|
||||
// if (fileCount > 1)
|
||||
// {
|
||||
// new DirectoryInfo(extractPath).Flatten();
|
||||
// }
|
||||
|
||||
return chapter;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue