add nice output for ls
This commit is contained in:
@@ -28,7 +28,9 @@ class TimeSlot():
|
||||
|
||||
@property
|
||||
def end(self):
|
||||
return datetime.fromtimestamp(self._end)
|
||||
if "_end" in self.__dict__:
|
||||
return datetime.fromtimestamp(self._end)
|
||||
return None
|
||||
|
||||
@end.setter
|
||||
def end(self, d: datetime):
|
||||
|
||||
Reference in New Issue
Block a user