diff --git a/matsim/scenariogen/data/formats/mid.py b/matsim/scenariogen/data/formats/mid.py index e291dc4..8d159e6 100644 --- a/matsim/scenariogen/data/formats/mid.py +++ b/matsim/scenariogen/data/formats/mid.py @@ -236,11 +236,10 @@ def mobile(p): @staticmethod def present_on_day(p): x = int(p.P_STUM) - if x == 3: - return True - elif x == 1 or x == 2: + if x == 1 or x == 2: return False - return None + + return True @staticmethod def parse_time(x):