From 11983ef4f1e0a96daf197b9341737af27665b36f Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:52:16 +0000 Subject: [PATCH] style: format code with Black and PHP CS Fixer This commit fixes the style issues introduced in 845efe8 according to the output from Black and PHP CS Fixer. Details: None --- pulse_xmpp_agent/pluginsmachine/plugin_inventory.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pulse_xmpp_agent/pluginsmachine/plugin_inventory.py b/pulse_xmpp_agent/pluginsmachine/plugin_inventory.py index 7e8da10e..85453657 100644 --- a/pulse_xmpp_agent/pluginsmachine/plugin_inventory.py +++ b/pulse_xmpp_agent/pluginsmachine/plugin_inventory.py @@ -679,10 +679,9 @@ def action(xmppobject, action, sessionid, data, message, dataerreur): if sessionid.startswith("commandkiosk"): # Deadline to ensure that GLPI treatment is completed before requesting the date of inventory time.sleep(10) - xmppobject.send_message_to_master({ - 'action': 'resultkiosk', - 'data': {'subaction': 'inventory'} - }) + xmppobject.send_message_to_master( + {"action": "resultkiosk", "data": {"subaction": "inventory"}} + ) else: logger.debug("inventory is not injected") xmppobject.xmpplog(