Some slight tweaks to work done by @tonycoz for #1839
This commit is contained in:
13
config.py
13
config.py
@@ -6,6 +6,7 @@ import wx
|
||||
from logbook import CRITICAL, DEBUG, ERROR, FingersCrossedHandler, INFO, Logger, NestedSetup, NullHandler, \
|
||||
StreamHandler, TimedRotatingFileHandler, WARNING
|
||||
import hashlib
|
||||
from eos.const import Slot
|
||||
|
||||
from cryptography.fernet import Fernet
|
||||
|
||||
@@ -48,11 +49,13 @@ LOGLEVEL_MAP = {
|
||||
"debug": DEBUG,
|
||||
}
|
||||
|
||||
slotColourMap = {1: wx.Colour(250, 235, 204), # yellow = low slots
|
||||
2: wx.Colour(188, 215, 241), # blue = mid slots
|
||||
3: wx.Colour(235, 204, 209), # red = high slots
|
||||
4: '',
|
||||
5: '' }
|
||||
slotColourMap = {
|
||||
Slot.LOW: wx.Colour(250, 235, 204), # yellow = low slots
|
||||
Slot.MED: wx.Colour(188, 215, 241), # blue = mid slots
|
||||
Slot.HIGH: wx.Colour(235, 204, 209), # red = high slots
|
||||
Slot.RIG: '',
|
||||
Slot.SUBSYSTEM: ''
|
||||
}
|
||||
|
||||
def getClientSecret():
|
||||
return clientHash
|
||||
|
||||
Reference in New Issue
Block a user