mirror of
https://github.com/Readarr/Readarr
synced 2025-12-30 20:25:18 +01:00
Flood: explicitly cast DateFinished long? to long
This commit is contained in:
parent
05a8a3d764
commit
e2c1d76516
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
|||
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…
Reference in a new issue