-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFlightColours.py
46 lines (42 loc) · 924 Bytes
/
FlightColours.py
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
38
39
40
41
42
43
44
45
46
"""
FlightColours.py
List of airlines and appropriate colours to display
Matt Dyson
08/06/18
Part of FlightPi - http://github.com/mattdy/flightpi
"""
class FlightColours:
# Dict of callsign (first 3 letters) to colours. Available colours are:
# White
# Red
# Green
# Blue
# Yellow
# Orange
# None
col = {
"AUR" : "YWY",
"BEE" : "BWW",
"EZY" : "OOO",
"EZS" : "OOO",
"EXS" : "RWR",
"BAW" : "RWB",
"SHT" : "RWB",
"CFE" : "RWB",
"DLH" : "WWB",
"AFR" : "BWR",
"KLM" : "BBW",
"TOM" : "BWB",
"TCX" : "WBY",
"NAX" : "RWW",
"NRS" : "RWW",
"IBK" : "RWW",
"IBE" : "WRY",
"UKP" : "BBB",
"HLE" : "BNB",
"THY" : "WWR",
"EIN" : "GGG",
"RYR" : "BYW",
"UAE" : "GWR",
"VIR" : "RWR",
}