fix image extension

This commit is contained in:
Luke Pulverenti 2016-01-23 12:12:11 -05:00
parent 3b0b607836
commit 5d301af3ab

View File

@ -405,12 +405,12 @@ namespace MediaBrowser.Providers.Manager
break;
}
if (string.Equals(extension, "jpeg", StringComparison.OrdinalIgnoreCase))
if (string.Equals(extension, ".jpeg", StringComparison.OrdinalIgnoreCase))
{
extension = "jpg";
extension = ".jpg";
}
extension = "." + extension.ToLower();
extension = extension.ToLower();
string path = null;