Re-introduce my own fix since rogerfar one is not working
This commit is contained in:
parent
fb5b5ea831
commit
e03adade0e
1 changed files with 5 additions and 1 deletions
|
|
@ -80,7 +80,11 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
|
||||||
|
|
||||||
_logger.Debug($"Searching {rcloneMountPath} for {fileName} (attempt #{retryCount})...");
|
_logger.Debug($"Searching {rcloneMountPath} for {fileName} (attempt #{retryCount})...");
|
||||||
|
|
||||||
file = FindFile(rcloneMountPath, potentialFilePaths, fileName);
|
file = FindFile(rcloneMountPath, potentialFilePaths, "");
|
||||||
|
if (file == null)
|
||||||
|
{
|
||||||
|
file = FindFile(rcloneMountPath, potentialFilePaths, fileName);
|
||||||
|
}
|
||||||
|
|
||||||
if (file == null && searchSubDirectories)
|
if (file == null && searchSubDirectories)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue