moonraker: report software version in server.info

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-11-01 11:21:08 -04:00
parent 4f43cf3a9f
commit 86ac019572
1 changed files with 2 additions and 1 deletions

View File

@ -618,7 +618,8 @@ class Server:
'failed_plugins': self.failed_components, 'failed_plugins': self.failed_components,
'registered_directories': reg_dirs, 'registered_directories': reg_dirs,
'warnings': self.warnings, 'warnings': self.warnings,
'websocket_count': self.get_websocket_manager().get_count() 'websocket_count': self.get_websocket_manager().get_count(),
'moonraker_version': self.app_args['software_version']
} }
async def _handle_config_request(self, async def _handle_config_request(self,