diff --git a/insighioNode/apps/demo_console/scenario.py b/insighioNode/apps/demo_console/scenario.py index 0d37017..79a0d93 100644 --- a/insighioNode/apps/demo_console/scenario.py +++ b/insighioNode/apps/demo_console/scenario.py @@ -468,6 +468,11 @@ def executeDeviceConfigurationUpload(cfg, network): configUploadFileContent = utils.readFromFlagFile("/configLog") if configUploadFileContent: logging.info("New configuration found, about to upload it.") + from utils import configuration_handler + + configuration_handler.notifyServerWithNewConfig() + configUploadFileContent = utils.readFromFlagFile("/configLog") # reload configuration to be sure ov validity + message_sent = network.send_control_message( cfg, '[{"n":"config","vs":"' + configUploadFileContent + '"}]',