Skip to content

Commit

Permalink
fixed defaults not getting used if file missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Aug 14, 2022
1 parent 3263d4a commit 69008a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activitysim/abm/models/util/canonical_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def determine_flavors_from_alts_file(
}
valid_flavors = all(
[(isinstance(flavor, str) & (num >= 0)) for flavor, num in flavors.items()]
)
) & (len(flavors) > 0)
except (ValueError, AttributeError):
valid_flavors = False

Expand Down

0 comments on commit 69008a9

Please sign in to comment.