1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-03 22:04:43 +00:00

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

View file

@ -451,7 +451,7 @@ public FileStream StreamFile(string path)
throw new FileNotFoundException("Unable to find file: " + path, path); throw new FileNotFoundException("Unable to find file: " + path, path);
} }
return new FileStream(path, FileMode.Open); return new FileStream(path, FileMode.Open, FileAccess.Read);
} }
} }
} }