mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
修复更新配置引发的问题
This commit is contained in:
parent
66364ecafe
commit
ec494c6f1c
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ class PrivateConfig:
|
||||||
}
|
}
|
||||||
if self.private_config.get('last_chat_time'):
|
if self.private_config.get('last_chat_time'):
|
||||||
device_config['last_chat_time'] = self.private_config['last_chat_time']
|
device_config['last_chat_time'] = self.private_config['last_chat_time']
|
||||||
|
if self.private_config.get('owner'):
|
||||||
|
device_config['owner'] = self.private_config['owner']
|
||||||
|
|
||||||
# Copy full module configurations from main config
|
# Copy full module configurations from main config
|
||||||
for module_type, selected_name in selected_modules.items():
|
for module_type, selected_name in selected_modules.items():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue