aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-04-10 21:21:17 +0200
committerGitHub <noreply@github.com>2023-04-10 21:21:17 +0200
commit15c8854502a4a9006754921d2bcef016e87b1104 (patch)
tree3a4053580db57f7f235d8324fb8de7f0e7047e59 /Jellyfin.Api/Controllers/SubtitleController.cs
parentc92ad0dc4bf3da2d6eeb87a47d3322bba2de1503 (diff)
parent890fe183cf2f86e899671e78dcc25ef3eb9cc7e7 (diff)
Merge pull request #9607 from goremykin/fix_analyzers_warnings_and_suggestions
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs
index e38421338..b3e9d6297 100644
--- a/Jellyfin.Api/Controllers/SubtitleController.cs
+++ b/Jellyfin.Api/Controllers/SubtitleController.cs
@@ -533,10 +533,8 @@ public class SubtitleController : BaseJellyfinApiController
_logger.LogDebug("Fallback font size is {FileSize} Bytes", fileSize);
return PhysicalFile(fontFile.FullName, MimeTypes.GetMimeType(fontFile.FullName));
}
- else
- {
- _logger.LogWarning("The selected font is null or empty");
- }
+
+ _logger.LogWarning("The selected font is null or empty");
}
else
{