Skip to content

Commit

Permalink
style: format code with Black and PHP CS Fixer
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 7eb1e40 according to the output
from Black and PHP CS Fixer.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Dec 14, 2023
1 parent 7eb1e40 commit 98dd9a3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pulse_xmpp_agent/pluginsmachine/plugin_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,17 @@ def action(xmppobject, action, sessionid, data, message, dataerreur):
if hasattr(xmppobject.config, "collector"):
if xmppobject.config.collector == "ocs":
# If OCS x64 bits exists use it
if os.path.exists(os.path.join(os.environ["ProgramFiles"],
'OCS Inventory Agent',
'OCSInventory.exe')):
if os.path.exists(
os.path.join(
os.environ["ProgramFiles"],
"OCS Inventory Agent",
"OCSInventory.exe",
)
):
program = os.path.join(
os.environ["ProgramFiles"],
'OCS Inventory Agent',
'OCSInventory.exe'
"OCS Inventory Agent",
"OCSInventory.exe",
)
else:
# Or use OCS x32 bits
Expand Down

0 comments on commit 98dd9a3

Please sign in to comment.