You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
210 B
9 lines
210 B
from couchpotato.core.providers.base import YarrProvider
|
|
import time
|
|
|
|
|
|
class NZBProvider(YarrProvider):
|
|
type = 'nzb'
|
|
|
|
def calculateAge(self, unix):
|
|
return int(time.time() - unix) / 24 / 60 / 60
|
|
|