fix image extension

This commit is contained in:
Luke Pulverenti 2016-01-23 12:12:11 -05:00
parent 0eb664ccff
commit 7a2ab5d028

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;