fix image extension
This commit is contained in:
parent
0eb664ccff
commit
7a2ab5d028
|
@ -405,12 +405,12 @@ namespace MediaBrowser.Providers.Manager
|
||||||
break;
|
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;
|
string path = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user