forked from d101tm/tmstats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathawardinfo.py
More file actions
37 lines (32 loc) · 1.33 KB
/
awardinfo.py
File metadata and controls
37 lines (32 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
class Awardinfo:
oldawardnames = {'CC': 'Competent Communicator',
'ACB': 'Advanced Communicator Bronze',
'ACS': 'Advanced Communicator Silver',
'ACG': 'Advanced Communicator Gold',
'CL': 'Competent Leader',
'ALB': 'Advanced Leader Bronze',
'ALS': 'Advanced Leader Silver',
'LDREXC': 'High Performance Leadership Project',
'DTM': 'Distinguished Toastmaster'}
pathids = {'DL': 'Dynamic Leadership',
'EC': 'Effective Coaching',
'EH': 'Engaging Humor',
'IP': 'Innovative Planning',
'LD': 'Leadership Development',
'MS': 'Motivational Strategies',
'PI': 'Persuasive Influence',
'PM': 'Presentation Mastery',
'SR': 'Strategic Relationships',
'TC': 'Team Collaboration',
'VC': 'Visionary Communication'}
levels = {}
paths = {}
lookup = oldawardnames
for item in oldawardnames:
levels[item] = 0
for p in pathids:
for l in [1, 2, 3, 4, 5]:
index = '%s%d' % (p, l)
lookup[index] = '%s Level %d' % (pathids[p], l)
levels[index] = l
paths[index] = pathids[p]