Explorar o código

Update MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
Claus Vium %!s(int64=2) %!d(string=hai) anos
pai
achega
f2c7bccb89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Subtitles/SubtitleEditParser.cs

@@ -93,7 +93,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
         private IEnumerable<SubtitleFormat> GetSubtitleFormats()
         {
             var subtitleFormats = new List<SubtitleFormat>();
-            var assembly = Assembly.GetAssembly(typeof(SubtitleFormat));
+            var assembly = typeof(SubtitleFormat).Assembly;
             if (assembly == null)
             {
                 _logger.LogError("Missing assembly containing {SubtitleFormatName}", nameof(SubtitleFormat));