Skip to content

Commit

Permalink
Merge pull request #535 from medulla-tech/deepsource-transform-bbaeb661
Browse files Browse the repository at this point in the history
style: format code with Black and PHP CS Fixer
  • Loading branch information
neoclust authored Dec 3, 2024
2 parents 265af73 + 11983ef commit 918e590
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pulse_xmpp_agent/pluginsmachine/plugin_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 918e590

Please sign in to comment.