From 412adfed71a3d85076cb9e03f4491795938d3224 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 8 Sep 2013 10:57:03 -0700 Subject: [PATCH] Check for null before checking if EST --- NzbDrone.Core/MetadataSource/TraktProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Core/MetadataSource/TraktProxy.cs b/NzbDrone.Core/MetadataSource/TraktProxy.cs index 3aa4a44f5..065b3371e 100644 --- a/NzbDrone.Core/MetadataSource/TraktProxy.cs +++ b/NzbDrone.Core/MetadataSource/TraktProxy.cs @@ -142,7 +142,7 @@ namespace NzbDrone.Core.MetadataSource DateTime result; //Todo: Remove this when DST ends and/or trakt fixes DST airings in EST/EDT - if (iso.EndsWith("-05:00")) + if (iso != null && iso.EndsWith("-05:00")) { iso = iso.Replace("-05:00", "-04:00"); }