Fix inverted comparison in the tvdb token refresh logic

This commit is contained in:
Claus Vium
2019-05-31 07:24:52 +02:00
committed by GitHub
parent 75260a960b
commit a756026962

View File

@@ -33,7 +33,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
get
{
// Refresh if necessary
if (_tokenCreatedAt > DateTime.Now.Subtract(TimeSpan.FromHours(20)))
if (_tokenCreatedAt < DateTime.Now.Subtract(TimeSpan.FromHours(20)))
{
try
{