aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-13 11:38:17 +0100
committerBond_009 <bond.009@outlook.com>2021-02-13 11:38:17 +0100
commit8a6242826f3cca6aa12b475ad948cd298c8a2996 (patch)
tree4cb861bc5cdd446e6455b25db2d659f90784cdb5
parent6616add8c8526456e343d7b576d22df0ed261124 (diff)
100% branch coverage for Emby.Naming
-rw-r--r--Emby.Naming/TV/SeasonPathParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/TV/SeasonPathParser.cs b/Emby.Naming/TV/SeasonPathParser.cs
index d11c7c99e..6236f86c4 100644
--- a/Emby.Naming/TV/SeasonPathParser.cs
+++ b/Emby.Naming/TV/SeasonPathParser.cs
@@ -60,7 +60,7 @@ namespace Emby.Naming.TV
bool supportSpecialAliases,
bool supportNumericSeasonFolders)
{
- var filename = Path.GetFileName(path) ?? string.Empty;
+ string filename = Path.GetFileName(path);
if (supportSpecialAliases)
{