Skip to content

If we name an activity type such that the first word isn't in this list, we get a key error, and this course basically doesn't work! #45

@hcientist

Description

@hcientist

# FIXME: this should respect order from server/pieceplan and mayeb do this as a backup?
orderFromActivityType = lambda a: ordering[a["activity_type_name"].split()[0]]
for pieceplan in grouped:
grouped[pieceplan].sort(key=orderFromActivityType)

drop this method of ordering or make it handle keyerror gracefully

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions