diff --git a/src/libecalc/common/time_utils.py b/src/libecalc/common/time_utils.py index 82e9daa6e..06e9effa3 100644 --- a/src/libecalc/common/time_utils.py +++ b/src/libecalc/common/time_utils.py @@ -71,7 +71,7 @@ def get_timestep_indices(self, timesteps: List[datetime]) -> Tuple[int, int]: def get_timesteps(self, timesteps: List[datetime]) -> List[datetime]: """ Get all given timesteps that are within this period. - Returns empty list if no timesteps are outside period. + Returns empty list if all timesteps are outside period. """ timesteps = [timestep for timestep in timesteps if self.__contains__(timestep)]