Fix inverted comparison in the tvdb token refresh logic

pull/1426/head
Claus Vium 6 years ago committed by GitHub
parent 75260a960b
commit a756026962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
{

Loading…
Cancel
Save