This commit is contained in:
Oscar Krause 2023-01-17 17:27:26 +01:00
parent 059a51fe74
commit 263e68f7a2

View File

@ -173,7 +173,7 @@ class Lease(Base):
""" """
renew = delta.total_seconds() * renewal_period renew = delta.total_seconds() * renewal_period
renew = timedelta(seconds=renew) renew = timedelta(seconds=renew)
return delta - renew return delta + renew
def init(engine: Engine): def init(engine: Engine):