Merge "Fix TypeError for Indicators resource"
This commit is contained in:
commit
ab8798eef3
@ -33,13 +33,14 @@ class StaticDriver(DriverBase):
|
||||
cls._config = config
|
||||
|
||||
cls._indicators = memoize.PersistentDict()
|
||||
cls._indicators.update(
|
||||
config.get('SUSHY_EMULATOR_INDICATOR_LEDS', {}))
|
||||
|
||||
if hasattr(cls._indicators, 'make_permanent'):
|
||||
cls._indicators.make_permanent(
|
||||
config.get('SUSHY_EMULATOR_STATE_DIR'), 'indicators')
|
||||
|
||||
cls._indicators.update(
|
||||
config.get('SUSHY_EMULATOR_INDICATOR_LEDS', {}))
|
||||
|
||||
return cls
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user