Files
CouchPotatoServer/couchpotato/core/providers/nzb/base.py
T
2012-04-30 19:42:39 +02:00

10 lines
210 B
Python

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