fix config get
This commit is contained in:
parent
66e162db4d
commit
4d5761ac02
|
@ -972,11 +972,11 @@ class Device(Thing):
|
||||||
if isinstance(c, DataStorage):
|
if isinstance(c, DataStorage):
|
||||||
c.register_dlt()
|
c.register_dlt()
|
||||||
|
|
||||||
if app.config('ID_FEDERATED'):
|
if app.config.get('ID_FEDERATED'):
|
||||||
api.add_service(
|
api.add_service(
|
||||||
self.chid,
|
self.chid,
|
||||||
'DeviceHub',
|
'DeviceHub',
|
||||||
app.config('ID_FEDERATED'),
|
app.config.get('ID_FEDERATED'),
|
||||||
'Inventory service',
|
'Inventory service',
|
||||||
'Inv',
|
'Inv',
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue