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

pull/4/head
Taloth Saldono 10 years ago
parent 96c1ceaa29
commit 20894b40cf

@ -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);
}
}
}

Loading…
Cancel
Save