mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 03:43:56 +08:00
修复更新配置引发的问题
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user