aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-09-17 10:58:21 +0100
committerGitHub <noreply@github.com>2020-09-17 10:58:21 +0100
commit4c6b60d69db57abf0c669a3ec918443d017fd0e5 (patch)
treecd428916406362e56881130b29023f74e347218e /Emby.Drawing/ImageProcessor.cs
parent6bf0acb854683377bebad3ca27de17706519c420 (diff)
parentbc5404cd6f6cf1fcc90d014881cd52e2b4f80ebc (diff)
Merge pull request #73 from jellyfin/master
Updating from upstream
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index f585b90ca..ed20292f6 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -455,7 +455,7 @@ namespace Emby.Drawing
throw new ArgumentException("Path can't be empty.", nameof(path));
}
- if (path.IsEmpty)
+ if (filename.IsEmpty)
{
throw new ArgumentException("Filename can't be empty.", nameof(filename));
}