mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 18:50:26 +00:00
fixes #941 - Rework password recovery and remove IsLocal checks
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Drawing;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
@@ -59,12 +60,7 @@ namespace MediaBrowser.Controller.Drawing
|
||||
|
||||
private bool IsOutputFormatDefault(string originalImagePath)
|
||||
{
|
||||
if (OutputFormat == ImageOutputFormat.Original)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return string.Equals(Path.GetExtension(originalImagePath), "." + OutputFormat);
|
||||
return string.Equals(Path.GetExtension(originalImagePath), "." + OutputFormat, StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user