mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-03-05 15:15:59 +02:00
Flood: explicitly cast DateFinished long? to long
This commit is contained in:
parent
c8ad01e38e
commit
707c2c7978
@ -163,7 +163,7 @@ namespace NzbDrone.Core.Download.Clients.Flood
|
||||
else if (properties.DateFinished != null && properties.DateFinished > 0)
|
||||
{
|
||||
// Check if seed time reached
|
||||
if ((DateTimeOffset.Now - DateTimeOffset.FromUnixTimeSeconds(properties.DateFinished)) >= seedConfig.SeedTime)
|
||||
if ((DateTimeOffset.Now - DateTimeOffset.FromUnixTimeSeconds((long)properties.DateFinished)) >= seedConfig.SeedTime)
|
||||
{
|
||||
item.CanMoveFiles = item.CanBeRemoved = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user