this function means to return the difference between 2 datetime objects in seconds, right ?
so, return a ```datetime.datetime``` object from the below ```interval_to_time()```, and try this instead -

```return (time-self.now).total_seconds```