aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/ExternalFiles
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2022-12-05 15:00:20 +0100
committerBond_009 <bond.009@outlook.com>2022-12-05 15:00:20 +0100
commitc7d50d640e614a3c13699e3041fbfcb258861c5a (patch)
tree85ce1a16c1af479160b805ec098463ae457b5228 /Emby.Naming/ExternalFiles
parentb2def4c9ea6cf5e406bf5f865867d6cb5b54f640 (diff)
Replace == null with is null
Diffstat (limited to 'Emby.Naming/ExternalFiles')
-rw-r--r--Emby.Naming/ExternalFiles/ExternalPathParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/ExternalFiles/ExternalPathParser.cs b/Emby.Naming/ExternalFiles/ExternalPathParser.cs
index 1fa4fa5371..cfe3256e3d 100644
--- a/Emby.Naming/ExternalFiles/ExternalPathParser.cs
+++ b/Emby.Naming/ExternalFiles/ExternalPathParser.cs
@@ -94,7 +94,7 @@ namespace Emby.Naming.ExternalFiles
// Try to translate to three character code
var culture = _localizationManager.FindLanguageInfo(currentSliceWithoutSeparator);
- if (culture != null && pathInfo.Language == null)
+ if (culture != null && pathInfo.Language is null)
{
pathInfo.Language = culture.ThreeLetterISOLanguageName;
extraString = extraString.Replace(currentSlice, string.Empty, StringComparison.OrdinalIgnoreCase);