Skip to content
Snippets Groups Projects
Commit e0dbd0ec authored by Dnns's avatar Dnns
Browse files

Changed Color roles to be generic. All roles, that start with "Farbe-" are treated as color roles

parent 5303a49f
No related branches found
No related tags found
No related merge requests found
......@@ -38,18 +38,8 @@ def get_key(role):
return "MM"
elif role.name == "M.Sc. Wirtschaftsinformatik":
return "MWI"
elif role.name == "Pink":
return "PNK"
elif role.name == "Türkis":
return "TKS"
elif role.name == "Orange":
return "ONG"
elif role.name == "Lila":
return "LLA"
elif role.name == "Grün":
return "GRN"
elif role.name == "Blau":
return "BLU"
elif role.name.startswith("Farbe-"):
return role.name[6:9]
# Get all roles that are available at the guild.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment