Fixed: No longer gives an Unauthorized error when calculating file hashes of UI resources.

This commit is contained in:
Taloth Saldono 2014-09-03 12:32:34 +02:00
parent 96c1ceaa29
commit 20894b40cf
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ namespace NzbDrone.Common.Disk
throw new FileNotFoundException("Unable to find file: " + path, path);
}
return new FileStream(path, FileMode.Open);
return new FileStream(path, FileMode.Open, FileAccess.Read);
}
}
}