diff --git a/FR2T/fr2t.py b/FR2T/fr2t.py index 2ad4574..9ad4762 100644 --- a/FR2T/fr2t.py +++ b/FR2T/fr2t.py @@ -101,7 +101,7 @@ class FR2T: days = int(self.expire_time.strip("d")) if self.expire_time.endswith("h"): - hours = self.expire_time.strip("h") + hours = int(self.expire_time.strip("h")) expired_time = now_time - datetime.timedelta(days=days, hours=hours) expired_timestamp = datetime.datetime.timestamp(expired_time)